Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_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.004739/0.004739, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001137/0.001137, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.83 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.673/0.6742, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001712/0.676, allocations: 0.8371 MB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.6761, allocations: 43.78 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.6761, allocations: 3.938 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.6762, allocations: 11.86 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.6763, allocations: 7.875 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-05/0.6763, allocations: 19.98 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.6764, allocations: 63.84 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.6765, allocations: 43.97 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.6766, allocations: 19.88 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.6767, allocations: 35.83 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.6767, allocations: 8 kB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.6767, allocations: 4 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.6767, allocations: 19.88 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.6768, allocations: 39.73 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.6769, allocations: 71.36 kB / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6769, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6769, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6769, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 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.0003689/0.6773, allocations: 387.1 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.6773, allocations: 8.625 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.6773, allocations: 38.75 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.6774, allocations: 12.84 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.6776, allocations: 204.1 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.6776, allocations: 8.375 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.6776, allocations: 4.375 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.6777, allocations: 94.33 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6777, allocations: 7.938 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6778, allocations: 4 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.6778, allocations: 0 / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.6778, allocations: 35.98 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.6783, allocations: 436.7 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/0.6784, allocations: 45.16 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.6784, allocations: 21.84 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.6784, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.6785, allocations: 34.59 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.6785, allocations: 0 / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.6786, allocations: 61.73 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.6787, allocations: 81.11 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.6788, allocations: 160.7 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6788, allocations: 25.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.6789, allocations: 100.1 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-06/0.6789, allocations: 11.88 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.6789, allocations: 17.72 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.679, allocations: 318.8 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.679, allocations: 11.97 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.6791, allocations: 21.72 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.6791, allocations: 29.66 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6791, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.662e-05/0.6792, allocations: 57.59 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6792, allocations: 11.94 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.6792, allocations: 4.062 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.6792, allocations: 0 / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.6793, allocations: 7.938 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6793, allocations: 7.984 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.6793, allocations: 7.938 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.6794, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 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 7.603e-05/0.6794, allocations: 113.8 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.6795, allocations: 15.97 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.6795, allocations: 11.88 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.6795, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6795, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.6795, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.6799, allocations: 478.7 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6799, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.6799, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6799, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.6799, allocations: 4.062 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6799, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.68, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.68, allocations: 81.81 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.6801, allocations: 89.06 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.6801, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.6801, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.6801, allocations: 4.031 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.6802, allocations: 3.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.6802, allocations: 117.7 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6802, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001919/0.6804, allocations: 8 kB / 1.17 GB, free: 15.04 MB / 0.9044 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.0003066/0.6807, allocations: 0.621 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.198e-05/0.6808, allocations: 15.98 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6808, allocations: 3.938 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/0.6809, allocations: 11.88 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.681, allocations: 10.34 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.682, allocations: 1.339 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.6823, allocations: 0.6924 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.6823, allocations: 8.422 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.6823, allocations: 23.42 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.6823, allocations: 4 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.6982, allocations: 1.578 MB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.83, allocations: 8.875 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches