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.001695/0.001695, 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.001997/0.001997, allocations: 193.8 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.339/2.339, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5513, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001776/0.5531, allocations: 0.8223 MB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.144e-05/0.5532, allocations: 44.28 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.5533, allocations: 5.156 kB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.5533, allocations: 7.875 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.5534, allocations: 17.2 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.032e-05/0.5534, allocations: 16.11 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.5535, allocations: 59.28 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.5536, allocations: 41.06 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.5537, allocations: 27.14 kB / 0.9507 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.5538, allocations: 37.19 kB / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.5538, allocations: 5.312 kB / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.5538, allocations: 6.875 kB / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.5538, allocations: 18.67 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.5538, allocations: 25.31 kB / 0.9508 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.5539, allocations: 79.69 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5539, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5539, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5539, allocations: 5.375 kB / 0.9509 GB, free: 8.266 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.0002871/0.5542, allocations: 377.1 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5543, allocations: 14.19 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.5543, allocations: 41.02 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.5543, allocations: 9.156 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5545, allocations: 195.4 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.5545, allocations: 2.469 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.5545, allocations: 9.969 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5546, allocations: 95.47 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5547, allocations: 3.938 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.5547, allocations: 4 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5547, allocations: 2.406 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.5548, allocations: 40.02 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.5551, allocations: 432.5 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.985e-05/0.5552, allocations: 38.31 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.5552, allocations: 18.5 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.5552, allocations: 5.641 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.5553, allocations: 36 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.5553, allocations: 0 / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.5554, allocations: 54.17 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.5554, allocations: 82.48 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5555, allocations: 159.5 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.5556, allocations: 29.64 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.5556, allocations: 112.6 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-06/0.5556, allocations: 13.64 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.5556, allocations: 20.75 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.5557, allocations: 321 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.5557, allocations: 7.125 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.5557, allocations: 23.27 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.5558, allocations: 21.5 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5558, allocations: 5.312 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.993e-05/0.5558, allocations: 58.92 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5559, allocations: 9.375 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5559, allocations: 3.984 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5559, allocations: 1.469 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.5559, allocations: 4.844 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.556, allocations: 1.594 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.556, allocations: 1.406 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.556, allocations: 5.719 kB / 0.9531 GB, free: 6.051 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.674e-05/0.556, allocations: 117.8 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5561, allocations: 11.53 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.5561, allocations: 10.52 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5561, allocations: 9.594 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5561, allocations: 0 / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5561, allocations: 0.6562 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.5564, allocations: 474.7 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5564, allocations: 5 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.5564, allocations: 3.125 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5564, allocations: 3.984 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.5564, allocations: 1.531 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5565, allocations: 0 / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5565, allocations: 1.188 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.643e-05/0.5565, allocations: 87.17 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.5566, allocations: 87.48 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.5566, allocations: 5.234 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.5566, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.5566, allocations: 1.281 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.5566, allocations: 9.375 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.5567, allocations: 121.1 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5567, allocations: 0 / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001925/0.5569, allocations: 10.78 kB / 0.954 GB, free: 5.09 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.0002015/0.5571, allocations: 0.6125 MB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.5572, allocations: 17.38 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5572, allocations: 5.281 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.5572, allocations: 8.406 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.5574, allocations: 7.969 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.5582, allocations: 1.326 MB / 0.9559 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.5583, allocations: 0.694 MB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.5583, allocations: 9.359 kB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.5583, allocations: 18.84 kB / 0.9566 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5583, allocations: 0 / 0.9566 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.5727, allocations: 1.552 MB / 0.9581 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.578, allocations: 1.875 kB / 0.9581 GB, free: 1.633 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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