Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001686/0.001686, allocations: 191 kB / 16.25 MB, free: 6.637 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.549/1.549, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 70.23 kB / 0.8986 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3999, allocations: 157.4 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00304/0.403, allocations: 0.888 MB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.4032, allocations: 47.78 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.4033, allocations: 0 / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.179e-05/0.4033, allocations: 7.922 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.4035, allocations: 3.938 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.563e-05/0.4035, allocations: 16 kB / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.4037, allocations: 63.75 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.4039, allocations: 47.97 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.404, allocations: 27.8 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.404, allocations: 27.84 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.4041, allocations: 8 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.4041, allocations: 8 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.4041, allocations: 15.92 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.4042, allocations: 43.73 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.4043, allocations: 64.06 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4043, allocations: 0 / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4043, allocations: 0 / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.4044, allocations: 0 / 1.054 GB, free: 7.477 MB / 0.8106 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.0006318/0.405, allocations: 380.8 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4051, allocations: 8.625 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.4051, allocations: 12.84 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4055, allocations: 192.1 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4055, allocations: 12.38 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.4055, allocations: 4.375 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.4057, allocations: 105.2 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4058, allocations: 192 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.4058, allocations: 7.875 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4058, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.4059, allocations: 39.92 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.4066, allocations: 436.5 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.4067, allocations: 41.16 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.4068, allocations: 21.84 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4068, allocations: 4 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4069, allocations: 38.58 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4069, allocations: 0 / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002171/0.4071, allocations: 57.48 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4071, allocations: 77.11 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4074, allocations: 160.5 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4074, allocations: 29.7 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.4075, allocations: 104 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.4075, allocations: 3.906 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.4075, allocations: 17.72 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.4078, allocations: 322.8 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.4078, allocations: 4 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.4078, allocations: 21.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.4079, allocations: 33.66 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4079, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.408, allocations: 57.61 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.408, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.408, allocations: 3.938 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.408, allocations: 3.984 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.4081, allocations: 8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4081, allocations: 8 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.4082, allocations: 7.844 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.4082, allocations: 4 kB / 1.056 GB, free: 5.031 MB / 0.8106 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.669e-05/0.4083, allocations: 113.8 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.4083, allocations: 11.98 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.4084, allocations: 15.8 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4084, allocations: 4 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4084, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4084, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.4091, allocations: 474.7 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4091, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.4091, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4091, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4091, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4092, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4092, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.4093, allocations: 89.77 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4094, allocations: 85.02 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.4094, allocations: 3.984 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.4094, allocations: 4 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.4095, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4095, allocations: 4 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.813e-05/0.4096, allocations: 126.1 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4096, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002135/0.4098, allocations: 4 kB / 1.057 GB, free: 3.992 MB / 0.8106 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.0001578/0.41, allocations: 99.25 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.4101, allocations: 15.94 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4101, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.4101, allocations: 8 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4103, allocations: 16.17 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.4107, allocations: 178.8 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.411, allocations: 0.6968 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.4111, allocations: 8.422 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.4111, allocations: 11.44 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.4111, allocations: 0 / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of Templates: time 0.002733/0.4139, allocations: 459.2 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches