Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001829/0.001829, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.002232/0.002232, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.958/2.958, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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: 79.83 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.096, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001957/1.098, allocations: 0.8356 MB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.799e-05/1.098, allocations: 36.92 kB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/1.099, allocations: 6.75 kB / 1.323 GB, free: 24.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/1.099, allocations: 7.406 kB / 1.323 GB, free: 24.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.181e-05/1.099, allocations: 7.875 kB / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.519e-05/1.099, allocations: 17.78 kB / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/1.099, allocations: 61.62 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/1.099, allocations: 36.91 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/1.099, allocations: 23.38 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/1.099, allocations: 27.28 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/1.099, allocations: 11.94 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/1.099, allocations: 4.906 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/1.099, allocations: 18.19 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/1.099, allocations: 33.16 kB / 1.323 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/1.099, allocations: 84.41 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.099, allocations: 0 / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/1.099, allocations: 0 / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.099, allocations: 0 / 1.323 GB, free: 24.33 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.0003731/1.1, allocations: 385.3 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.1, allocations: 11.89 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/1.1, allocations: 10.33 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.1, allocations: 194.1 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/1.1, allocations: 7.75 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.1, allocations: 7.219 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.1, allocations: 99.72 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/1.1, allocations: 192 / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.1, allocations: 3.938 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.1, allocations: 3 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/1.1, allocations: 39.17 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/1.101, allocations: 429.1 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/1.101, allocations: 51.03 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/1.101, allocations: 18.97 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/1.101, allocations: 0 / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/1.101, allocations: 33.59 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/1.101, allocations: 0 / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/1.101, allocations: 66.8 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/1.101, allocations: 77.11 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.101, allocations: 165.4 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/1.101, allocations: 28.73 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/1.101, allocations: 102.1 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/1.101, allocations: 11.28 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/1.101, allocations: 15.53 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/1.101, allocations: 322.4 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/1.101, allocations: 10.28 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/1.101, allocations: 16.56 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/1.101, allocations: 26.28 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.101, allocations: 3.375 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.048e-05/1.101, allocations: 57.19 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.101, allocations: 9.188 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.101, allocations: 3.938 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.101, allocations: 96 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/1.101, allocations: 9.062 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.101, allocations: 2.656 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/1.101, allocations: 15.88 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/1.101, allocations: 6.625 kB / 1.325 GB, free: 22.24 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 5.167e-05/1.101, allocations: 112.3 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/1.102, allocations: 9.172 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/1.102, allocations: 21.84 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.102, allocations: 0 / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.102, allocations: 2.469 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.102, allocations: 0 / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/1.102, allocations: 475.7 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.102, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/1.102, allocations: 2.75 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.102, allocations: 4.062 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/1.102, allocations: 2.781 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.102, allocations: 3.938 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.102, allocations: 0 / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/1.102, allocations: 82.2 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/1.102, allocations: 90.88 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/1.102, allocations: 6.562 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/1.102, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/1.102, allocations: 3.938 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/1.102, allocations: 2.656 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.973e-05/1.102, allocations: 119.6 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.102, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00018/1.102, allocations: 8.562 kB / 1.326 GB, free: 21.32 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.0001125/1.102, allocations: 103.3 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.952e-05/1.102, allocations: 16.44 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.102, allocations: 0 / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/1.102, allocations: 13.44 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/1.103, allocations: 14.69 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/1.103, allocations: 184.2 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/1.103, allocations: 0.696 MB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/1.103, allocations: 12.81 kB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.103, allocations: 0 / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of Templates: time 0.002226/1.105, allocations: 0.8652 MB / 1.328 GB, free: 20.24 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.416391396996914]