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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001207/0.001207, allocations: 195 kB / 16.14 MB, free: 6.656 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7342 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.67 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3443, allocations: 157.4 MB / 1.052 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002274/0.3467, allocations: 0.888 MB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.3468, allocations: 43.78 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.3469, allocations: 0 / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.574e-05/0.3469, allocations: 7.922 kB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.347, allocations: 0 / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.836e-05/0.3471, allocations: 15.98 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.3472, allocations: 67.64 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3473, allocations: 55.94 kB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.3474, allocations: 19.88 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.3475, allocations: 27.84 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3475, allocations: 4 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3475, allocations: 4 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.3475, allocations: 15.94 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.3476, allocations: 31.73 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3477, allocations: 67.98 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3477, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3477, allocations: 0 / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3477, allocations: 0 / 1.053 GB, free: 7.676 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.0005045/0.3482, allocations: 383.3 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3483, allocations: 12.03 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.3483, allocations: 8.844 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3486, allocations: 188.2 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3486, allocations: 4.375 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3486, allocations: 8.375 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3488, allocations: 103.7 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3488, allocations: 192 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3488, allocations: 7.938 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3488, allocations: 4 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.3489, allocations: 39.92 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.3495, allocations: 436.6 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.3496, allocations: 41.22 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.3496, allocations: 25.8 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3496, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3497, allocations: 38.56 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3497, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.3499, allocations: 53.48 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3499, allocations: 77.11 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3501, allocations: 165.3 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3501, allocations: 25.7 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.3502, allocations: 104 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.3502, allocations: 7.906 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.3502, allocations: 21.7 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3504, allocations: 314.8 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.3504, allocations: 4 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.3504, allocations: 29.69 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.3505, allocations: 29.59 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3505, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.404e-05/0.3506, allocations: 65.53 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3506, allocations: 5.406 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3506, allocations: 3.938 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3506, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.3507, allocations: 8.062 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3507, allocations: 7.984 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.3507, allocations: 11.84 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3507, allocations: 0 / 1.055 GB, free: 5.227 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.402e-05/0.3508, allocations: 115.4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.3509, allocations: 7.906 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.3509, allocations: 19.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3509, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3509, allocations: 3.938 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3509, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.3513, allocations: 470.8 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3513, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.3513, allocations: 4 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3513, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3514, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3514, allocations: 4 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3514, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.3515, allocations: 89.83 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3515, allocations: 89 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3515, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.3516, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.3516, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3516, allocations: 4 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000107/0.3517, allocations: 127.3 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3517, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001933/0.3519, allocations: 8 kB / 1.056 GB, free: 4.188 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.000116/0.352, allocations: 95.25 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.147e-05/0.3521, allocations: 19.92 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3521, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.3521, allocations: 4.188 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.3523, allocations: 17.2 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.3526, allocations: 186.8 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3529, allocations: 0.7004 MB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.353, allocations: 4.438 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.353, allocations: 11.44 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.353, allocations: 3.938 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.002604/0.3556, allocations: 424.7 kB / 1.058 GB, free: 2.672 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