Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001583/0.001583, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001697/0.001697, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.481/1.481, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.689/2.689, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [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.002092/0.002092, allocations: 63.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002192/0.3447, allocations: 0.7946 MB / 1.118 GB, free: 1.762 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.3448, allocations: 39.84 kB / 1.118 GB, free: 1.723 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.3449, allocations: 0 / 1.118 GB, free: 1.723 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.3449, allocations: 11.88 kB / 1.118 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.345, allocations: 11.88 kB / 1.118 GB, free: 1.699 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.784e-05/0.3451, allocations: 19.97 kB / 1.118 GB, free: 1.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3452, allocations: 63.84 kB / 1.118 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3453, allocations: 31.84 kB / 1.118 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.3454, allocations: 27.92 kB / 1.118 GB, free: 1.559 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.3455, allocations: 27.78 kB / 1.118 GB, free: 1.531 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3455, allocations: 4 kB / 1.118 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.3455, allocations: 8 kB / 1.118 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.3455, allocations: 15.92 kB / 1.118 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.3456, allocations: 23.88 kB / 1.119 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3457, allocations: 83.56 kB / 1.119 GB, free: 1.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3457, allocations: 4 kB / 1.119 GB, free: 1.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3457, allocations: 3.938 kB / 1.119 GB, free: 1.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3457, allocations: 0 / 1.119 GB, free: 1.391 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.0004432/0.3461, allocations: 302 kB / 1.119 GB, free: 1.062 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3462, allocations: 8.031 kB / 1.119 GB, free: 1.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3462, allocations: 12.89 kB / 1.119 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.3464, allocations: 130.4 kB / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3464, allocations: 8.375 kB / 1.119 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3465, allocations: 12.3 kB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3466, allocations: 95.95 kB / 1.119 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3466, allocations: 192 / 1.119 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3467, allocations: 3.938 kB / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3467, allocations: 4 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.3467, allocations: 35.92 kB / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.3472, allocations: 352.5 kB / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.3473, allocations: 41.25 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.3473, allocations: 17.78 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.3473, allocations: 4 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3474, allocations: 34.56 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3474, allocations: 0 / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.3475, allocations: 57.52 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3476, allocations: 77.11 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3477, allocations: 132.7 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3477, allocations: 25.7 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.3478, allocations: 111.9 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/0.3478, allocations: 11.95 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3478, allocations: 13.97 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.348, allocations: 322.8 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.348, allocations: 4 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.348, allocations: 21.66 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.3481, allocations: 25.72 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3481, allocations: 0 / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.354e-05/0.3482, allocations: 61.58 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3482, allocations: 4 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3482, allocations: 4 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3482, allocations: 11.94 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.3482, allocations: 4 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3482, allocations: 0 / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.3483, allocations: 7.922 kB / 1.12 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.3483, allocations: 4 kB / 1.12 GB, free: 15.26 MB / 1.076 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 8.055e-05/0.3484, allocations: 113.8 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3484, allocations: 3.953 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.3484, allocations: 15.41 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3484, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3484, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3484, allocations: 8 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.3488, allocations: 410.4 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3488, allocations: 7.938 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.3488, allocations: 4 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3488, allocations: 4 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.3488, allocations: 0 / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3488, allocations: 3.938 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3488, allocations: 0 / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.363e-05/0.3489, allocations: 74.03 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.3489, allocations: 19.97 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3489, allocations: 3.984 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.519e-05/0.349, allocations: 4 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.349, allocations: 4 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.349, allocations: 0 / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.3491, allocations: 95.27 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3491, allocations: 0 / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001839/0.3492, allocations: 12 kB / 1.121 GB, free: 14.42 MB / 1.076 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.0001087/0.3493, allocations: 98.06 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.62e-05/0.3494, allocations: 23.92 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3494, allocations: 4 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.3494, allocations: 4 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.3496, allocations: 15.78 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.3499, allocations: 154.6 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.35, allocations: 83.27 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.35, allocations: 8.25 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.35, allocations: 12.44 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.35, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of Templates: time 0.00263/0.3527, allocations: 328.9 kB / 1.122 GB, free: 13.64 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: 8.637271874933504]