Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001977/0.001977, 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.003475/0.003475, allocations: 210.2 kB / 22.24 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.979/2.979, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0023/0.0023, allocations: 68.09 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4529, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002646/0.4556, allocations: 0.7908 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.4557, allocations: 43.78 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.4558, allocations: 4 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.4559, allocations: 11.86 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.456, allocations: 15.81 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.957e-05/0.456, allocations: 15.98 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.4562, allocations: 63.89 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.4563, allocations: 31.91 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.4564, allocations: 23.86 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.4565, allocations: 31.73 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.4565, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.4565, allocations: 8 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.4566, allocations: 15.92 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.4566, allocations: 23.88 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.4568, allocations: 87.56 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4568, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4568, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4568, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 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.000517/0.4573, allocations: 306.1 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4573, allocations: 8.031 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.4574, allocations: 12.83 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.4576, allocations: 134.4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4576, allocations: 8.375 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.4577, allocations: 4.375 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4578, allocations: 109.5 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.4579, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4579, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4579, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.458, allocations: 35.98 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.4585, allocations: 368.4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.4586, allocations: 33.22 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.4587, allocations: 17.78 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.4587, allocations: 4 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4587, allocations: 38.59 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4587, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.4589, allocations: 57.52 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.459, allocations: 77.11 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4591, allocations: 132.8 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4591, allocations: 25.7 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.4592, allocations: 111.9 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.4593, allocations: 7.953 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.4593, allocations: 13.97 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4595, allocations: 322.8 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.4595, allocations: 4 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.4595, allocations: 17.72 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.4596, allocations: 33.66 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4596, allocations: 3.938 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.4597, allocations: 53.64 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4597, allocations: 4 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4597, allocations: 3.938 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4597, allocations: 4.062 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.4598, allocations: 11.94 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4598, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.4598, allocations: 3.938 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4598, allocations: 4 kB / 1.286 GB, free: 8.613 MB / 0.9825 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 9.484e-05/0.4599, allocations: 121.8 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.46, allocations: 3.953 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.46, allocations: 15.41 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.46, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.46, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.46, allocations: 4.094 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4605, allocations: 418.4 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4605, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.4605, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4605, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.4605, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4605, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4605, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.4606, allocations: 81.81 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.4606, allocations: 8.094 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4607, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.4607, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.4607, allocations: 7.984 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4607, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.4608, allocations: 99.27 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4608, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002032/0.461, allocations: 11.95 kB / 1.287 GB, free: 7.766 MB / 0.9825 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.4611, allocations: 95.25 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.4612, allocations: 19.94 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4612, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.4613, allocations: 7.984 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.4614, allocations: 11.94 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.4618, allocations: 150.8 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.222e-05/0.4619, allocations: 87.12 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.4619, allocations: 8.25 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.4619, allocations: 11.38 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4619, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of Templates: time 0.003044/0.465, allocations: 379.6 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.879123892635107]