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.006998/0.006998, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001165/0.001165, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.22/2.22, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6558, allocations: 140.3 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001655/0.6575, allocations: 0.8325 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.279e-05/0.6576, allocations: 44.88 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.6576, allocations: 5.312 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.6577, allocations: 9.797 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.6578, allocations: 10.47 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.706e-05/0.6578, allocations: 16.5 kB / 1.088 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.6579, allocations: 63.08 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.658, allocations: 41.5 kB / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.6581, allocations: 26.78 kB / 1.088 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.6581, allocations: 30.06 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.6581, allocations: 6.469 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.6581, allocations: 6.344 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.6582, allocations: 15.77 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.6582, allocations: 34.55 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.6583, allocations: 70.2 kB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6583, allocations: 4 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6583, allocations: 3.938 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.6583, allocations: 1.312 kB / 1.089 GB, free: 4.492 MB / 0.8575 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.0002707/0.6586, allocations: 379.3 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6586, allocations: 9.812 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.6587, allocations: 47.36 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.6587, allocations: 10.27 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6588, allocations: 191.8 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.6589, allocations: 7.562 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.6589, allocations: 13.53 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.659, allocations: 94.75 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.659, allocations: 3.938 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.659, allocations: 5.281 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.659, allocations: 2.062 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.6591, allocations: 35.83 kB / 1.089 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.6595, allocations: 442.7 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.6596, allocations: 42.16 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.6596, allocations: 20.73 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-06/0.6596, allocations: 0 / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.6596, allocations: 40.36 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.6596, allocations: 0 / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.6598, allocations: 57.94 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.6598, allocations: 78.2 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.6599, allocations: 158.8 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.6599, allocations: 30.61 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.66, allocations: 103.7 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.66, allocations: 9.891 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.66, allocations: 18.62 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.66, allocations: 318.8 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.6601, allocations: 3.844 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.6601, allocations: 21.19 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.6601, allocations: 30.98 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6601, allocations: 0 / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.343e-05/0.6602, allocations: 60.98 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.6602, allocations: 12.56 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6602, allocations: 0.6562 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.6603, allocations: 5.656 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.6603, allocations: 6.078 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6603, allocations: 1.766 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.6604, allocations: 9.078 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.6604, allocations: 2.625 kB / 1.091 GB, free: 2.359 MB / 0.8575 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.274e-05/0.6604, allocations: 117.6 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.6605, allocations: 13 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.6605, allocations: 11.55 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6605, allocations: 1.156 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6605, allocations: 1.703 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.6605, allocations: 0 / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.6608, allocations: 470.9 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6608, allocations: 0.6094 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.6608, allocations: 3.672 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6608, allocations: 1 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.6608, allocations: 1.062 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6608, allocations: 1.703 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6608, allocations: 1.094 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.01e-05/0.6609, allocations: 88.12 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.6609, allocations: 86.77 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.661, allocations: 5.578 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.661, allocations: 1.188 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.661, allocations: 1.656 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.661, allocations: 1.797 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.6611, allocations: 123.8 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6611, allocations: 1.094 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002088/0.6613, allocations: 14.55 kB / 1.092 GB, free: 1.441 MB / 0.8575 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.0002977/0.6616, allocations: 0.6158 MB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.6617, allocations: 20.14 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6617, allocations: 4.156 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.6617, allocations: 8.812 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.6619, allocations: 10.09 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.663, allocations: 1.326 MB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.6632, allocations: 0.7006 MB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.6632, allocations: 15.41 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.6632, allocations: 21.62 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.6633, allocations: 0 / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.6774, allocations: 1.564 MB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.663, allocations: 9.516 kB / 1.096 GB, free: 14.47 MB / 0.8731 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