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.001802/0.001802, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.003217/0.003217, allocations: 217.2 kB / 23.01 MB, free: 4.566 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.283/3.283, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002091/0.002091, allocations: 70.88 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002044/0.3457, allocations: 0.8335 MB / 1.355 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.3458, allocations: 43.78 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3458, allocations: 0 / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.3459, allocations: 11.86 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.346, allocations: 3.938 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.033e-05/0.346, allocations: 19.98 kB / 1.355 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3461, allocations: 67.78 kB / 1.355 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3463, allocations: 35.97 kB / 1.355 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.3463, allocations: 19.88 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.3464, allocations: 27.84 kB / 1.355 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3464, allocations: 8 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.3464, allocations: 4 kB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.3464, allocations: 19.92 kB / 1.355 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.3465, allocations: 35.73 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.3466, allocations: 79.53 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3466, allocations: 0 / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3466, allocations: 4 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3466, allocations: 0 / 1.355 GB, free: 6.695 MB / 1.045 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.00043/0.3471, allocations: 306 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3471, allocations: 8.031 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3471, allocations: 8.891 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3473, allocations: 142.3 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3473, allocations: 8.375 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3474, allocations: 8.359 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3475, allocations: 97.58 kB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3475, allocations: 4.188 kB / 1.356 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3476, allocations: 7.922 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3476, allocations: 0 / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.995e-05/0.3477, allocations: 39.92 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3482, allocations: 399.8 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/0.3483, allocations: 41.25 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3483, allocations: 21.77 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.3483, allocations: 3.938 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3483, allocations: 34.56 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3483, allocations: 4 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.3485, allocations: 53.53 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.3486, allocations: 77.11 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3487, allocations: 161.1 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3487, allocations: 25.7 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.3488, allocations: 104 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3488, allocations: 7.953 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3489, allocations: 21.97 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.349, allocations: 318.8 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.349, allocations: 11.94 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.3491, allocations: 17.7 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.3491, allocations: 29.66 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3491, allocations: 4 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.3492, allocations: 65.58 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3492, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3492, allocations: 3.938 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3492, allocations: 4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.3493, allocations: 4 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3493, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.3493, allocations: 7.953 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.3493, allocations: 0 / 1.357 GB, free: 4.461 MB / 1.045 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.106e-05/0.3494, allocations: 121.8 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.3495, allocations: 7.953 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.3495, allocations: 19.73 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3495, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3495, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3495, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.3499, allocations: 453.7 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3499, allocations: 64 / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.3499, allocations: 11.94 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3499, allocations: 0 / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3499, allocations: 4 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3499, allocations: 0 / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3499, allocations: 0 / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.942e-05/0.35, allocations: 77.88 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.3501, allocations: 15.98 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3501, allocations: 3.984 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.3501, allocations: 0 / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.3501, allocations: 4 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.3501, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.525e-05/0.3502, allocations: 124.8 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000193/0.3504, allocations: 11.94 kB / 1.358 GB, free: 3.531 MB / 1.045 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.0001156/0.3505, allocations: 95.25 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.757e-05/0.3506, allocations: 16 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3506, allocations: 0 / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.3506, allocations: 15.92 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.3508, allocations: 15.88 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.3511, allocations: 176.5 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3514, allocations: 0.6926 MB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.3515, allocations: 11.44 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3515, allocations: 4 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of Templates: time 0.00247/0.3539, allocations: 0.8644 MB / 1.36 GB, free: 1.566 MB / 1.045 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.474859952984843]