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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001428/0.001428, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 197 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5387, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001753/0.5404, allocations: 0.8228 MB / 0.9505 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.5406, allocations: 49.22 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.5406, allocations: 1.375 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.5407, allocations: 9.25 kB / 0.9506 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/0.5408, allocations: 11.86 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.187e-05/0.5408, allocations: 16.11 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.541, allocations: 63.22 kB / 0.9507 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.5411, allocations: 41.34 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.5412, allocations: 24.11 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.5412, allocations: 28.83 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.5412, allocations: 4.75 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.5413, allocations: 7.062 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.5413, allocations: 25.34 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.5413, allocations: 31 kB / 0.9508 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.5414, allocations: 74.95 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5414, allocations: 0 / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5415, allocations: 0 / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5415, allocations: 1.188 kB / 0.9509 GB, free: 8.289 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.0003687/0.5418, allocations: 378.6 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5419, allocations: 8.406 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.5419, allocations: 41.55 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.542, allocations: 9.969 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.5421, allocations: 202.4 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.5422, allocations: 3.438 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5422, allocations: 9.969 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.5423, allocations: 89.59 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5423, allocations: 3.938 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.5423, allocations: 4 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5423, allocations: 2.781 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.5424, allocations: 39.8 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.5428, allocations: 433.1 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.276e-05/0.5428, allocations: 36.84 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.5429, allocations: 23.28 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.5429, allocations: 5.203 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.5429, allocations: 35.8 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.5429, allocations: 0 / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.543, allocations: 62.27 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.5431, allocations: 82.48 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.5432, allocations: 163.2 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.5432, allocations: 27.05 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.5432, allocations: 111.4 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.5432, allocations: 5.25 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.5433, allocations: 17.66 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.5433, allocations: 325 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.5433, allocations: 6.969 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.5433, allocations: 27.14 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.5434, allocations: 22.88 kB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5434, allocations: 0 / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.707e-05/0.5435, allocations: 58.61 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5435, allocations: 11.12 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5435, allocations: 1.562 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5435, allocations: 3.984 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.5436, allocations: 9.938 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5436, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.5436, allocations: 2.344 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.5436, allocations: 2.531 kB / 0.9531 GB, free: 6.07 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 4.265e-05/0.5436, allocations: 112.6 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.5437, allocations: 16.34 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.5437, allocations: 14.55 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5437, allocations: 1.312 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5437, allocations: 0 / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5437, allocations: 5.188 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.544, allocations: 473.5 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.544, allocations: 1.094 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.544, allocations: 7.625 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.544, allocations: 0 / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.544, allocations: 1.156 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.544, allocations: 0.6875 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.544, allocations: 5.531 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.041e-05/0.5441, allocations: 81.89 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.5441, allocations: 88.33 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.5441, allocations: 5.328 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.5442, allocations: 3.938 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.5442, allocations: 1.312 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.5442, allocations: 5.344 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.5443, allocations: 124.7 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.21e-07/0.5443, allocations: 0 / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001795/0.5444, allocations: 10.22 kB / 0.954 GB, free: 5.109 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.0001851/0.5446, allocations: 0.6182 MB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.817e-05/0.5447, allocations: 18.09 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5447, allocations: 5.438 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.337e-06/0.5447, allocations: 4.312 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.5449, allocations: 6.969 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.5456, allocations: 1.326 MB / 0.9559 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.5457, allocations: 0.6982 MB / 0.9566 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.5458, allocations: 8.703 kB / 0.9566 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.5458, allocations: 19.12 kB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5458, allocations: 0 / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.5664, allocations: 1.545 MB / 0.9581 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.199, allocations: 9.125 kB / 0.9581 GB, free: 1.652 MB / 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