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.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.001612/0.001612, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001733/0.001733, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.458/3.458, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002137/0.002137, allocations: 69.66 kB / 1.187 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.345, allocations: 181.9 MB / 1.365 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002078/0.347, allocations: 0.8036 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000118/0.3472, allocations: 43.78 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.3472, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.3472, allocations: 11.86 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.3473, allocations: 7.938 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.535e-05/0.3474, allocations: 15.98 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3475, allocations: 59.78 kB / 1.366 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3476, allocations: 35.95 kB / 1.366 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.3477, allocations: 23.88 kB / 1.366 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.3477, allocations: 31.78 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3478, allocations: 4 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3478, allocations: 12 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3478, allocations: 11.94 kB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.3478, allocations: 31.8 kB / 1.366 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.348, allocations: 79.52 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.348, allocations: 0 / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.348, allocations: 0 / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.348, allocations: 0 / 1.366 GB, free: 12.5 MB / 1.061 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.0004404/0.3484, allocations: 306 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3484, allocations: 8.031 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.3485, allocations: 12.84 kB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3487, allocations: 138.4 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3487, allocations: 4.375 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3487, allocations: 8.375 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3489, allocations: 105.7 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3489, allocations: 192 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3489, allocations: 3.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3489, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.349, allocations: 39.92 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.3495, allocations: 356.4 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.3496, allocations: 45.34 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.3496, allocations: 17.78 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.3496, allocations: 0 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3496, allocations: 34.56 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3496, allocations: 0 / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.3498, allocations: 57.52 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.3499, allocations: 77.11 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.35, allocations: 129.8 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.35, allocations: 25.95 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.3501, allocations: 111.9 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.3501, allocations: 7.953 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.3501, allocations: 21.66 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3503, allocations: 314.8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3503, allocations: 7.984 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.3503, allocations: 17.72 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.3504, allocations: 21.72 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3504, allocations: 4 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.601e-05/0.3505, allocations: 61.62 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3505, allocations: 4 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3505, allocations: 0 / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3505, allocations: 3.938 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.3506, allocations: 12 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3506, allocations: 0 / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.3506, allocations: 7.891 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3506, allocations: 4 kB / 1.368 GB, free: 10.36 MB / 1.061 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.345e-05/0.3507, allocations: 118.4 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3507, allocations: 3.984 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.3508, allocations: 19.47 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3508, allocations: 3.938 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3508, allocations: 0 / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3508, allocations: 3.938 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.3512, allocations: 410.5 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3512, allocations: 7.875 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.3512, allocations: 4 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3512, allocations: 0 / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3512, allocations: 4 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3512, allocations: 0 / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3512, allocations: 4.062 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.454e-05/0.3513, allocations: 74.06 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3513, allocations: 11.89 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3513, allocations: 0 / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.3514, allocations: 4 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.3514, allocations: 7.984 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.3514, allocations: 3.938 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.3514, allocations: 101.8 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3514, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000191/0.3516, allocations: 11.95 kB / 1.368 GB, free: 9.504 MB / 1.061 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.0001155/0.3518, allocations: 99.28 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.3518, allocations: 16 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3518, allocations: 0 / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.3518, allocations: 7.938 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.352, allocations: 11.92 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.3523, allocations: 176.5 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.394e-05/0.3524, allocations: 87.38 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.3524, allocations: 11.44 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3524, allocations: 0 / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of Templates: time 0.002236/0.3547, allocations: 0.7984 MB / 1.37 GB, free: 8.234 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.364018904976547]