Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001718/0.001718, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00208/0.00208, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.628/1.628, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.243/3.243, allocations: 0.4899 GB / 0.7915 GB, free: 33.52 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002136/0.002136, allocations: 72.3 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4452, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002375/0.4476, allocations: 0.8325 MB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.4477, allocations: 43.78 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.4478, allocations: 0 / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.443e-05/0.4479, allocations: 11.86 kB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.448, allocations: 7.875 kB / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.34e-05/0.448, allocations: 23.98 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.4482, allocations: 59.84 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.4483, allocations: 47.89 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.4484, allocations: 23.88 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.4484, allocations: 35.72 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.4485, allocations: 8 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.4485, allocations: 4 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.4485, allocations: 11.94 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.4486, allocations: 35.73 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.4487, allocations: 79.58 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4487, allocations: 0 / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4487, allocations: 4 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.4487, allocations: 0 / 1.322 GB, free: 1.605 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.0006099/0.4493, allocations: 391 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4494, allocations: 11.98 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.4494, allocations: 8.891 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.4497, allocations: 192.2 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4497, allocations: 8.375 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.4497, allocations: 4.375 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.4499, allocations: 105.8 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.45, allocations: 192 / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.45, allocations: 7.938 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.45, allocations: 0 / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.4501, allocations: 35.98 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.4508, allocations: 440.7 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.4509, allocations: 37.16 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.4509, allocations: 21.83 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4509, allocations: 8.031 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.451, allocations: 34.56 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.451, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.4512, allocations: 57.48 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.4513, allocations: 81.11 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4514, allocations: 155.9 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4515, allocations: 29.7 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.248e-05/0.4515, allocations: 108 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.4516, allocations: 3.953 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.4516, allocations: 25.95 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4518, allocations: 314.8 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.4518, allocations: 4 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.4518, allocations: 21.7 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.4519, allocations: 33.66 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4519, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.721e-05/0.4519, allocations: 57.64 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.452, allocations: 4 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.452, allocations: 11.88 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.452, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.452, allocations: 7.938 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.4521, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.4521, allocations: 7.953 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.4521, allocations: 0 / 1.325 GB, free: 15.16 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.0001033/0.4522, allocations: 119.4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.4522, allocations: 7.953 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.4523, allocations: 19.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4523, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.4523, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4523, allocations: 4 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.4527, allocations: 466.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4527, allocations: 8.062 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.4527, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4528, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.4528, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4528, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4528, allocations: 4.078 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4529, allocations: 85.77 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.4529, allocations: 101 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.453, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.453, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.453, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.453, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001079/0.4531, allocations: 124.6 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4531, allocations: 0 / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000186/0.4533, allocations: 8 kB / 1.325 GB, free: 14.11 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.0001486/0.4534, allocations: 99.25 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4536, allocations: 23.92 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4536, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.4536, allocations: 8 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.4538, allocations: 11.94 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.4541, allocations: 150.8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.4545, allocations: 0.7043 MB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.4545, allocations: 4.438 kB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.4546, allocations: 11.44 kB / 1.326 GB, free: 13.03 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.4546, allocations: 0 / 1.326 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Templates: time 0.003229/0.4578, allocations: 468.5 kB / 1.327 GB, free: 12.57 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.47837479179725]