Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008682/0.0008682, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005367/0.005367, allocations: 170.8 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8.281 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.552, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0009102/0.5529, allocations: 0.5294 MB / 0.9557 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.47e-05/0.553, allocations: 44.61 kB / 0.9557 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.5531, allocations: 6.5 kB / 0.9557 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.5531, allocations: 7.875 kB / 0.9558 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.5532, allocations: 3.938 kB / 0.9558 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.711e-05/0.5532, allocations: 20.33 kB / 0.9558 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.5533, allocations: 50.91 kB / 0.9558 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.5534, allocations: 38.16 kB / 0.9559 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.5535, allocations: 26.67 kB / 0.9559 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.5535, allocations: 27.08 kB / 0.9559 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.5536, allocations: 2.125 kB / 0.9559 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.5536, allocations: 1.906 kB / 0.9559 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.5536, allocations: 6.219 kB / 0.9559 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.5536, allocations: 54.97 kB / 0.956 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.5537, allocations: 65.81 kB / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5537, allocations: 1 kB / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5537, allocations: 0 / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5538, allocations: 0 / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003368/0.5541, allocations: 373.6 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5542, allocations: 9.219 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.5542, allocations: 37.94 kB / 0.9564 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.5542, allocations: 13.44 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.5544, allocations: 193.7 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5544, allocations: 8.312 kB / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.5545, allocations: 5.375 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5546, allocations: 90.48 kB / 0.9567 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5546, allocations: 8.969 kB / 0.9567 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5546, allocations: 4 kB / 0.9567 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5546, allocations: 6.312 kB / 0.9568 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.5547, allocations: 31.86 kB / 0.9568 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.5552, allocations: 430.1 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.5552, allocations: 48.64 kB / 0.9572 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.5553, allocations: 20.22 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.5553, allocations: 1.188 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.5553, allocations: 31.66 kB / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5553, allocations: 7.938 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.5555, allocations: 55.09 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.5555, allocations: 81.05 kB / 0.9574 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.5556, allocations: 164.5 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.5557, allocations: 25.7 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.5557, allocations: 104.6 kB / 0.9577 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.5557, allocations: 20.91 kB / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.5557, allocations: 10.78 kB / 0.9577 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.5558, allocations: 321.5 kB / 0.958 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.5558, allocations: 7.266 kB / 0.9581 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.5558, allocations: 23.48 kB / 0.9581 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.5559, allocations: 21.44 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5559, allocations: 1.156 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.329e-05/0.556, allocations: 66.66 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.556, allocations: 9.438 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.556, allocations: 0 / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.556, allocations: 1.031 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.5561, allocations: 5.781 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5561, allocations: 1.344 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.5561, allocations: 5.188 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5561, allocations: 2.188 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.5562, allocations: 117.2 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.5562, allocations: 20.05 kB / 0.9583 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.5563, allocations: 10.41 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5563, allocations: 1.344 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5563, allocations: 0 / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5563, allocations: 1.344 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.5565, allocations: 466.3 kB / 0.9588 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5566, allocations: 4 kB / 0.9588 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.5566, allocations: 3.031 kB / 0.9588 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5566, allocations: 5.469 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.5566, allocations: 1.344 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.5566, allocations: 3.984 kB / 0.9588 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5566, allocations: 1.031 kB / 0.9588 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.5567, allocations: 77.78 kB / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.5567, allocations: 96.78 kB / 0.959 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.5568, allocations: 5.438 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.5568, allocations: 0 / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.5568, allocations: 5.406 kB / 0.959 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5568, allocations: 1.375 kB / 0.959 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.5569, allocations: 123 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5569, allocations: 0 / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001802/0.5571, allocations: 7.25 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.5573, allocations: 0.6152 MB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.819e-05/0.5574, allocations: 19.69 kB / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5574, allocations: 0 / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.5574, allocations: 8 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.5576, allocations: 15.42 kB / 0.9597 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.5584, allocations: 1.344 MB / 0.961 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.752e-05/0.5585, allocations: 0.6915 MB / 0.9617 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.5585, allocations: 7.984 kB / 0.9617 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.5586, allocations: 19.19 kB / 0.9618 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5586, allocations: 1.812 kB / 0.9618 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.5788, allocations: 1.355 MB / 0.9631 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/0.5789, allocations: 208.9 kB / 0.9633 GB, free: 376 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.122, allocations: 4 kB / 0.9633 GB, free: 372 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches