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.001791/0.001791, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002092/0.002092, allocations: 217.5 kB / 22.25 MB, free: 5.242 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.847/2.847, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] 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.002099/0.002099, allocations: 68.19 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4137, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002575/0.4163, allocations: 0.8083 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.4164, allocations: 39.73 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.4165, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.747e-05/0.4165, allocations: 11.88 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.591e-05/0.4166, allocations: 15.84 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.818e-05/0.4167, allocations: 19.98 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.4168, allocations: 55.84 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.417, allocations: 27.98 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.4171, allocations: 23.92 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.4172, allocations: 31.73 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.4172, allocations: 8 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.4172, allocations: 4 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.4173, allocations: 19.92 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.4173, allocations: 27.86 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.4175, allocations: 71.58 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4175, allocations: 0 / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4175, allocations: 0 / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4175, allocations: 4 kB / 1.284 GB, free: 10.82 MB / 0.9825 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.0005974/0.4181, allocations: 310 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4182, allocations: 12.03 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.4182, allocations: 8.891 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4184, allocations: 142.3 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4185, allocations: 4.375 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.4185, allocations: 8.375 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.4187, allocations: 91.8 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4187, allocations: 192 / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.4188, allocations: 11.94 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.4188, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.4189, allocations: 35.98 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.4194, allocations: 360.4 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.4195, allocations: 37.16 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.4196, allocations: 17.84 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4196, allocations: 4 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4196, allocations: 38.58 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4196, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.4198, allocations: 53.53 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4199, allocations: 85.3 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.42, allocations: 130.8 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4201, allocations: 29.7 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4202, allocations: 107.9 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.4202, allocations: 3.953 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.4202, allocations: 17.72 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4204, allocations: 318.8 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.4204, allocations: 8 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.4204, allocations: 17.72 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.4205, allocations: 29.64 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4205, allocations: 4 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.723e-05/0.4206, allocations: 53.66 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4206, allocations: 10.66 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4206, allocations: 0 / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4207, allocations: 3.938 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.4207, allocations: 11.92 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4207, allocations: 7.938 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.4208, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.4208, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 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.0001184/0.4209, allocations: 121.8 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.4209, allocations: 7.953 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.421, allocations: 11.41 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.421, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.421, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.421, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.4214, allocations: 410.5 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4214, allocations: 3.938 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.4214, allocations: 4 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4214, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4214, allocations: 8.062 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.4214, allocations: 7.984 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4214, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.4216, allocations: 81.97 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.4216, allocations: 11.92 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4216, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/0.4216, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.4216, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.4217, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.537e-05/0.4217, allocations: 100.4 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4217, allocations: 32 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000197/0.4219, allocations: 15.95 kB / 1.287 GB, free: 7.832 MB / 0.9825 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.0001566/0.4221, allocations: 91.25 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.4222, allocations: 27.86 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.4222, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.4223, allocations: 8 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.4224, allocations: 7.938 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.4229, allocations: 155 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.423, allocations: 91.12 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.423, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.4231, allocations: 11.44 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.4231, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.003663/0.4267, allocations: 371.5 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.655474847182631]