Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001831/0.001831, allocations: 102.3 kB / 19.7 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.00271/0.00271, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.796/2.796, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002087/0.002087, allocations: 67.83 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3806, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002224/0.3828, allocations: 0.837 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.3829, allocations: 43.78 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.383, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.383, allocations: 7.875 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.667e-05/0.3831, allocations: 19.8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.853e-05/0.3832, allocations: 19.98 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3833, allocations: 63.84 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3835, allocations: 23.98 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.3835, allocations: 35.8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.3836, allocations: 27.8 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3836, allocations: 4 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.3836, allocations: 8 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.3837, allocations: 19.91 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3837, allocations: 27.81 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.3839, allocations: 79.58 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3839, allocations: 4 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3839, allocations: 3.938 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3839, allocations: 0 / 1.286 GB, free: 9.965 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.0005006/0.3844, allocations: 306.1 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3844, allocations: 8.031 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3845, allocations: 8.891 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3847, allocations: 142.3 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3847, allocations: 8.375 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3847, allocations: 8.375 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3849, allocations: 98.3 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3849, allocations: 4.188 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3849, allocations: 7.938 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3849, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.385, allocations: 31.98 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.3857, allocations: 411.8 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.3858, allocations: 33.22 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.3858, allocations: 21.81 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3858, allocations: 0 / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3859, allocations: 42.5 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3859, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.3861, allocations: 57.52 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.3861, allocations: 77.11 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3863, allocations: 162.2 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3864, allocations: 25.7 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.3864, allocations: 108 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.3865, allocations: 8.203 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3865, allocations: 17.72 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3867, allocations: 318.8 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.3867, allocations: 11.94 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.3868, allocations: 13.72 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3869, allocations: 29.66 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3869, allocations: 4 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.628e-05/0.387, allocations: 61.64 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.387, allocations: 4 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.387, allocations: 7.875 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3871, allocations: 4 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.3871, allocations: 4 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3871, allocations: 0 / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.3872, allocations: 15.94 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3872, allocations: 0 / 1.288 GB, free: 7.719 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.0001139/0.3873, allocations: 117.9 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3873, allocations: 7.953 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.3874, allocations: 11.75 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3874, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3874, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3874, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.388, allocations: 445.8 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.388, allocations: 8.047 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.388, allocations: 4 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.388, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.388, allocations: 4 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.388, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.388, allocations: 96 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.3881, allocations: 93.75 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.3881, allocations: 19.83 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3882, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.3882, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3882, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.3882, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001057/0.3883, allocations: 122.1 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3883, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002/0.3885, allocations: 12 kB / 1.289 GB, free: 6.801 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.0001321/0.3886, allocations: 99.27 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.871e-05/0.3887, allocations: 19.94 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3887, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.3887, allocations: 4 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.3889, allocations: 11.94 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.3893, allocations: 184.6 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3896, allocations: 0.6968 MB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.3897, allocations: 15.38 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3897, allocations: 0 / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of Templates: time 0.002713/0.3924, allocations: 0.8655 MB / 1.29 GB, free: 4.836 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 10.952960020978935]