Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007447/0.007447, allocations: 98.56 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.001469/0.001469, allocations: 195.1 kB / 16.68 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.445/1.445, 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 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002262/1.077, allocations: 0.8255 MB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/1.077, allocations: 43.78 kB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/1.078, allocations: 0 / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/1.078, allocations: 7.875 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.753e-05/1.078, allocations: 11.88 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.417e-05/1.078, allocations: 23.97 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/1.078, allocations: 59.84 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/1.078, allocations: 35.98 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/1.078, allocations: 23.92 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/1.078, allocations: 31.73 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/1.078, allocations: 12 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/1.078, allocations: 8 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/1.078, allocations: 19.91 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/1.078, allocations: 31.81 kB / 1.168 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/1.078, allocations: 71.16 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.078, allocations: 0 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.963e-06/1.078, allocations: 0 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.078, allocations: 0 / 1.168 GB, free: 2.66 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.0004601/1.079, allocations: 384.1 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.079, allocations: 16.92 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/1.079, allocations: 16.84 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/1.079, allocations: 200.1 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.079, allocations: 4.375 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/1.079, allocations: 8.375 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/1.079, allocations: 102.3 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.079, allocations: 192 / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.079, allocations: 3.938 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/1.079, allocations: 4 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/1.08, allocations: 39.98 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/1.08, allocations: 436.7 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/1.08, allocations: 41.22 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/1.08, allocations: 17.78 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/1.08, allocations: 0 / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.08, allocations: 38.59 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/1.08, allocations: 4 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001733/1.08, allocations: 57.52 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/1.081, allocations: 77.36 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/1.081, allocations: 164.9 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/1.081, allocations: 25.7 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/1.081, allocations: 104 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/1.081, allocations: 7.953 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/1.081, allocations: 13.72 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.081, allocations: 322.8 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/1.081, allocations: 4 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/1.081, allocations: 21.72 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/1.081, allocations: 25.66 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.081, allocations: 0 / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.263e-05/1.081, allocations: 65.59 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.081, allocations: 4 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.081, allocations: 3.938 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.081, allocations: 0 / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/1.081, allocations: 16 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.081, allocations: 3.984 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/1.081, allocations: 11.88 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/1.081, allocations: 3.938 kB / 1.17 GB, free: 204 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 8.825e-05/1.081, allocations: 113.8 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/1.082, allocations: 7.953 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/1.082, allocations: 15.81 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.082, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.082, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.082, allocations: 4 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/1.082, allocations: 474.7 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.082, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/1.082, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.082, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.082, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.082, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.082, allocations: 8.062 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/1.082, allocations: 81.81 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/1.082, allocations: 85.06 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.082, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/1.082, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/1.082, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/1.082, allocations: 12.02 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.266e-05/1.082, allocations: 117.9 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.082, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001804/1.083, allocations: 4 kB / 1.171 GB, free: 15.16 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.0001203/1.083, allocations: 103.2 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.971e-05/1.083, allocations: 19.94 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.083, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/1.083, allocations: 12.12 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/1.083, allocations: 3.938 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/1.083, allocations: 170.5 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/1.084, allocations: 0.6885 MB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.426e-05/1.084, allocations: 12.55 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/1.084, allocations: 15.38 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/1.084, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.002659/1.086, allocations: 468.5 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches