Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001695/0.001695, allocations: 110.2 kB / 19.69 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.002117/0.002117, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.241/3.241, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002078/0.002078, allocations: 67.22 kB / 1.178 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3164, allocations: 180.2 MB / 1.354 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002049/0.3185, allocations: 0.8355 MB / 1.355 GB, free: 7.258 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.3186, allocations: 47.78 kB / 1.355 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.3186, allocations: 0 / 1.355 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.3187, allocations: 11.86 kB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.3187, allocations: 3.938 kB / 1.355 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.789e-05/0.3188, allocations: 19.98 kB / 1.355 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3189, allocations: 67.77 kB / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.319, allocations: 27.98 kB / 1.355 GB, free: 7.082 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.3191, allocations: 31.86 kB / 1.355 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.3191, allocations: 27.84 kB / 1.355 GB, free: 7.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3192, allocations: 8 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.3192, allocations: 4 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3192, allocations: 19.92 kB / 1.355 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.3192, allocations: 35.69 kB / 1.355 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.3194, allocations: 75.58 kB / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3194, allocations: 0 / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3194, allocations: 0 / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3194, allocations: 0 / 1.355 GB, free: 6.883 MB / 1.045 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.0004212/0.3198, allocations: 315.5 kB / 1.356 GB, free: 6.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3198, allocations: 8.031 kB / 1.356 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3199, allocations: 12.89 kB / 1.356 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3201, allocations: 134.3 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3201, allocations: 8.375 kB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3201, allocations: 8.375 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3203, allocations: 105.7 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3203, allocations: 192 / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3203, allocations: 3.938 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3203, allocations: 0 / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.3204, allocations: 43.86 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.3209, allocations: 395.8 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.321, allocations: 45.28 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.321, allocations: 17.83 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.321, allocations: 4 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.321, allocations: 34.56 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.321, allocations: 0 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000166/0.3212, allocations: 57.53 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3213, allocations: 77.11 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3214, allocations: 159.5 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3214, allocations: 25.7 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.3215, allocations: 115.9 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.3215, allocations: 3.953 kB / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3216, allocations: 21.7 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3217, allocations: 319.1 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.3217, allocations: 4 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.3217, allocations: 25.69 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.3218, allocations: 29.66 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3218, allocations: 0 / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.793e-05/0.3219, allocations: 61.58 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3219, allocations: 8.062 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3219, allocations: 3.938 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3219, allocations: 4 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.322, allocations: 4 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.322, allocations: 0 / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.322, allocations: 7.953 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.322, allocations: 3.984 kB / 1.357 GB, free: 4.637 MB / 1.045 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 9.552e-05/0.3221, allocations: 118.4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3222, allocations: 11.89 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.3222, allocations: 23.73 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3222, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3222, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3222, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.3226, allocations: 445.7 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3226, allocations: 4 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.3226, allocations: 4 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3226, allocations: 8.062 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3226, allocations: 0 / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3227, allocations: 0 / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3227, allocations: 0 / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.857e-05/0.3227, allocations: 81.81 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.3228, allocations: 11.94 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3228, allocations: 8 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.3228, allocations: 8.031 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.3228, allocations: 3.938 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3228, allocations: 0 / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000103/0.3229, allocations: 122.5 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 0 / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002021/0.3231, allocations: 8 kB / 1.358 GB, free: 3.707 MB / 1.045 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 9.817e-05/0.3232, allocations: 91.25 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.3233, allocations: 20 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3233, allocations: 0 / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.3233, allocations: 15.92 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.3235, allocations: 11.88 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.3238, allocations: 180.5 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3241, allocations: 0.7004 MB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.3242, allocations: 11.44 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3242, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of Templates: time 0.002436/0.3266, allocations: 0.8644 MB / 1.36 GB, free: 1.738 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.29405935597606]