Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 210.7 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.503/3.503, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 75.3 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4716, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.003141/0.4747, allocations: 0.7914 MB / 1.326 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.4749, allocations: 47.78 kB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.475, allocations: 0 / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.825e-05/0.4751, allocations: 11.86 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.4752, allocations: 11.88 kB / 1.326 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.323e-05/0.4753, allocations: 15.98 kB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4754, allocations: 63.84 kB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.4756, allocations: 27.97 kB / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.4757, allocations: 31.8 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.4758, allocations: 23.84 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.4758, allocations: 4 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.4758, allocations: 8 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.4758, allocations: 19.94 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.4759, allocations: 27.8 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.4761, allocations: 83.52 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4761, allocations: 0 / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4761, allocations: 0 / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4761, allocations: 0 / 1.327 GB, free: 0.7422 MB / 1.014 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.000586/0.4767, allocations: 306 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4767, allocations: 12.03 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.4768, allocations: 8.891 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.477, allocations: 126.4 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.477, allocations: 16.31 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.4771, allocations: 4.375 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.4773, allocations: 99.8 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4773, allocations: 192 / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4773, allocations: 3.938 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.4773, allocations: 4 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4774, allocations: 39.92 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.4781, allocations: 356.5 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.4782, allocations: 37.25 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.4783, allocations: 25.77 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.4783, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4783, allocations: 34.56 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.4783, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.4785, allocations: 53.53 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.4786, allocations: 77.11 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4788, allocations: 129.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4788, allocations: 29.64 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.4789, allocations: 112.2 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.4789, allocations: 11.95 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.4789, allocations: 17.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4791, allocations: 314.8 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.4791, allocations: 4 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.4792, allocations: 29.69 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.4792, allocations: 25.66 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4792, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.4793, allocations: 57.59 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4794, allocations: 8.062 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4794, allocations: 7.984 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4794, allocations: 7.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.4795, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4795, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.4795, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.4795, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 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 0.0001132/0.4796, allocations: 117.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.4797, allocations: 7.953 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.4797, allocations: 15.39 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4797, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4798, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4798, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.4803, allocations: 406.5 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4803, allocations: 11.86 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.4803, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4803, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.4803, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4803, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4803, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.4804, allocations: 77.95 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.4805, allocations: 15.88 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4805, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.559e-05/0.4805, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.4805, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.4805, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.4806, allocations: 99.2 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4806, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002974/0.4809, allocations: 8 kB / 1.329 GB, free: 13.75 MB / 1.029 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.000138/0.481, allocations: 107.2 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.4811, allocations: 19.94 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4812, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.4812, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.4814, allocations: 9.812 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.4818, allocations: 158.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.456e-05/0.4819, allocations: 87.38 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.4819, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.482, allocations: 11.44 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.482, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of Templates: time 0.003581/0.4856, allocations: 375.9 kB / 1.33 GB, free: 12.93 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.838094905018806]