Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 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.00114/0.00114, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.253/2.253, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5124, allocations: 140.4 MB / 0.9497 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001741/0.5142, allocations: 0.8183 MB / 0.9505 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.765e-05/0.5143, allocations: 41.47 kB / 0.9506 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.5144, allocations: 1.5 kB / 0.9506 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.5144, allocations: 7.875 kB / 0.9506 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.5145, allocations: 19.8 kB / 0.9506 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.863e-05/0.5145, allocations: 20.89 kB / 0.9506 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.5146, allocations: 55.77 kB / 0.9507 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.5147, allocations: 39.89 kB / 0.9507 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.5148, allocations: 32.06 kB / 0.9507 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.5148, allocations: 31.09 kB / 0.9508 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.5148, allocations: 6.406 kB / 0.9508 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.5148, allocations: 6.438 kB / 0.9508 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.5149, allocations: 14.06 kB / 0.9508 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.5149, allocations: 38.22 kB / 0.9508 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.223e-05/0.515, allocations: 67.08 kB / 0.9509 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.515, allocations: 1.281 kB / 0.9509 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.515, allocations: 0 / 0.9509 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.515, allocations: 0 / 0.9509 GB, free: 8.457 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.0002778/0.5153, allocations: 387.6 kB / 0.9513 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.5153, allocations: 8.969 kB / 0.9513 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.5153, allocations: 41.38 kB / 0.9513 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.5154, allocations: 8.781 kB / 0.9513 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5155, allocations: 195.1 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5155, allocations: 7.375 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.5155, allocations: 8.469 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.5156, allocations: 92.2 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5157, allocations: 7.938 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5157, allocations: 5.438 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5157, allocations: 1.406 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.5158, allocations: 35.83 kB / 0.9517 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.5161, allocations: 441.2 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.5162, allocations: 41.12 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.5162, allocations: 15.59 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.5162, allocations: 1.688 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.5162, allocations: 38.59 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5162, allocations: 4 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.5164, allocations: 59.03 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.5164, allocations: 78.58 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5165, allocations: 163.5 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-06/0.5165, allocations: 25.7 kB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.5166, allocations: 108.8 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.5166, allocations: 5.156 kB / 0.9526 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.5166, allocations: 20.5 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.5167, allocations: 329.4 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.5167, allocations: 7.969 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.5167, allocations: 18.06 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.5167, allocations: 30.61 kB / 0.953 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5167, allocations: 0 / 0.953 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.804e-05/0.5168, allocations: 59.39 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5168, allocations: 9.375 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5168, allocations: 0 / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5169, allocations: 1.188 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.5169, allocations: 13.33 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5169, allocations: 1.219 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.517, allocations: 2.219 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.517, allocations: 1.031 kB / 0.9531 GB, free: 6.23 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.426e-05/0.517, allocations: 113.2 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.5171, allocations: 16.22 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.5171, allocations: 14.86 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5171, allocations: 0.9375 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5171, allocations: 1.469 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5171, allocations: 3.984 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.5173, allocations: 470.3 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5174, allocations: 0 / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.5174, allocations: 7.844 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5174, allocations: 1.188 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.5174, allocations: 0 / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5174, allocations: 1.219 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5174, allocations: 1.375 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.521e-05/0.5175, allocations: 85.2 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.5175, allocations: 91.98 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.5175, allocations: 5.438 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.5175, allocations: 1.469 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.5176, allocations: 9.484 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.5176, allocations: 0 / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.5176, allocations: 117 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5176, allocations: 0 / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001824/0.5178, allocations: 7.781 kB / 0.954 GB, free: 5.281 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.0001995/0.518, allocations: 0.6235 MB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.5181, allocations: 17.92 kB / 0.9546 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.5181, allocations: 0.5625 kB / 0.9546 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.5181, allocations: 9.656 kB / 0.9546 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.5183, allocations: 9.719 kB / 0.9546 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.5191, allocations: 1.323 MB / 0.9559 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.709e-05/0.5192, allocations: 0.6985 MB / 0.9566 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.5192, allocations: 4.969 kB / 0.9566 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.5192, allocations: 25.95 kB / 0.9566 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.5192, allocations: 1.375 kB / 0.9566 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/0.6029, allocations: 1.539 MB / 0.9581 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.607, allocations: 12.72 kB / 0.9581 GB, free: 1.812 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches