Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 186.4 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.2/3.2, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 66.64 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.418, allocations: 174.9 MB / 1.316 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002201/0.4202, allocations: 0.8374 MB / 1.317 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.4203, allocations: 39.78 kB / 1.317 GB, free: 8.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.4204, allocations: 4 kB / 1.317 GB, free: 8.789 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.4204, allocations: 11.86 kB / 1.317 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.4205, allocations: 7.938 kB / 1.317 GB, free: 8.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.348e-05/0.4206, allocations: 15.98 kB / 1.317 GB, free: 8.754 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.4207, allocations: 67.78 kB / 1.317 GB, free: 8.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.4209, allocations: 27.98 kB / 1.317 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.4209, allocations: 31.86 kB / 1.317 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.421, allocations: 39.77 kB / 1.317 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.421, allocations: 4 kB / 1.317 GB, free: 8.586 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.421, allocations: 8 kB / 1.317 GB, free: 8.578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.4211, allocations: 7.938 kB / 1.317 GB, free: 8.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.4211, allocations: 35.8 kB / 1.317 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.4212, allocations: 83.45 kB / 1.317 GB, free: 8.453 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4212, allocations: 4 kB / 1.317 GB, free: 8.449 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4213, allocations: 0 / 1.317 GB, free: 8.449 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4213, allocations: 0 / 1.317 GB, free: 8.449 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.0005042/0.4218, allocations: 310 kB / 1.318 GB, free: 8.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4218, allocations: 8.031 kB / 1.318 GB, free: 8.105 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.4218, allocations: 8.891 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.4221, allocations: 134.4 kB / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4221, allocations: 8.375 kB / 1.318 GB, free: 7.934 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.4221, allocations: 8.375 kB / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.4223, allocations: 83.95 kB / 1.318 GB, free: 7.832 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4223, allocations: 192 / 1.318 GB, free: 7.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4223, allocations: 11.94 kB / 1.318 GB, free: 7.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4223, allocations: 4 kB / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.4224, allocations: 35.92 kB / 1.318 GB, free: 7.781 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.423, allocations: 403.8 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.4231, allocations: 37.19 kB / 1.318 GB, free: 7.285 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.4231, allocations: 21.84 kB / 1.318 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4231, allocations: 0 / 1.318 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4232, allocations: 30.56 kB / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.4232, allocations: 0 / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002216/0.4234, allocations: 61.73 kB / 1.318 GB, free: 7.152 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.4234, allocations: 81.14 kB / 1.318 GB, free: 7.055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4236, allocations: 159.9 kB / 1.319 GB, free: 6.891 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.4236, allocations: 25.7 kB / 1.319 GB, free: 6.859 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.4237, allocations: 112 kB / 1.319 GB, free: 6.746 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.898e-06/0.4237, allocations: 7.938 kB / 1.319 GB, free: 6.738 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.4238, allocations: 17.72 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4239, allocations: 318.8 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.4239, allocations: 12 kB / 1.319 GB, free: 6.383 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.424, allocations: 21.66 kB / 1.319 GB, free: 6.355 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.424, allocations: 25.7 kB / 1.319 GB, free: 6.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.424, allocations: 3.938 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.594e-05/0.4241, allocations: 57.59 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4241, allocations: 10.03 kB / 1.319 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4241, allocations: 11.94 kB / 1.319 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4242, allocations: 0 / 1.319 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.4242, allocations: 11.98 kB / 1.319 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4242, allocations: 0 / 1.319 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.4243, allocations: 0 / 1.319 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4243, allocations: 4 kB / 1.319 GB, free: 6.223 MB / 1.014 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.0001113/0.4244, allocations: 115.2 kB / 1.319 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.4244, allocations: 15.98 kB / 1.319 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.4245, allocations: 7.75 kB / 1.319 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4245, allocations: 8 kB / 1.319 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.4245, allocations: 7.984 kB / 1.319 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4245, allocations: 0 / 1.319 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.425, allocations: 445.8 kB / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.425, allocations: 0 / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.4251, allocations: 4 kB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4251, allocations: 3.938 kB / 1.32 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4251, allocations: 64 / 1.32 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4251, allocations: 4 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4251, allocations: 4 kB / 1.32 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.871e-05/0.4252, allocations: 81.88 kB / 1.32 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.4252, allocations: 7.953 kB / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.4252, allocations: 0 / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.4252, allocations: 0 / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.4253, allocations: 4.031 kB / 1.32 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4253, allocations: 7.984 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.4254, allocations: 121.3 kB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4254, allocations: 0 / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001818/0.4255, allocations: 4 kB / 1.32 GB, free: 5.309 MB / 1.014 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.0001261/0.4257, allocations: 103.2 kB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.796e-05/0.4258, allocations: 12 kB / 1.32 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4258, allocations: 8.125 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.4258, allocations: 7.938 kB / 1.32 GB, free: 5.172 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4259, allocations: 11.84 kB / 1.32 GB, free: 5.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.4263, allocations: 170.5 kB / 1.32 GB, free: 4.957 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4267, allocations: 0.6925 MB / 1.321 GB, free: 4.238 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.4267, allocations: 12.42 kB / 1.321 GB, free: 4.227 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.4267, allocations: 11.44 kB / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.4267, allocations: 0 / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of Templates: time 0.003062/0.4298, allocations: 480.4 kB / 1.321 GB, free: 3.746 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.421054325066507]