Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001753/0.001753, allocations: 111 kB / 16.46 MB, free: 6.453 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.002016/0.002016, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.594/1.594, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 3.272/3.272, allocations: 0.4899 GB / 0.7915 GB, free: 33.51 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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002159/0.002159, allocations: 73.58 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.424, allocations: 176.1 MB / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002466/0.4264, allocations: 0.8247 MB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.4266, allocations: 39.78 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.4266, allocations: 3.938 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.4267, allocations: 11.86 kB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.4268, allocations: 11.94 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.522e-05/0.4268, allocations: 15.98 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.427, allocations: 59.78 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.4271, allocations: 43.89 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.4272, allocations: 27.88 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.4273, allocations: 27.84 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.4273, allocations: 8 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.4273, allocations: 4 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.4273, allocations: 15.88 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.4274, allocations: 39.73 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.4275, allocations: 75.58 kB / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4275, allocations: 0 / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4275, allocations: 0 / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.4275, allocations: 0 / 1.322 GB, free: 1.531 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.0005975/0.4281, allocations: 391.1 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4282, allocations: 15.98 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4282, allocations: 8.891 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.4285, allocations: 192.2 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4285, allocations: 8.375 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4285, allocations: 4.375 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.4287, allocations: 95.86 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4287, allocations: 8.172 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4288, allocations: 7.938 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4288, allocations: 4 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.4289, allocations: 35.92 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.4295, allocations: 432.6 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/0.4296, allocations: 45.27 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.4296, allocations: 21.84 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.4296, allocations: 0 / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4297, allocations: 30.56 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4297, allocations: 0 / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002045/0.4299, allocations: 65.48 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.43, allocations: 85.03 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.4301, allocations: 155.9 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.4302, allocations: 25.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.4303, allocations: 108 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.4303, allocations: 7.953 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.4303, allocations: 21.64 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4305, allocations: 319.1 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.4305, allocations: 15.98 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.4305, allocations: 13.72 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.4306, allocations: 25.72 kB / 1.324 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4306, allocations: 4 kB / 1.324 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.117e-05/0.4306, allocations: 57.58 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4307, allocations: 12.06 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.4307, allocations: 3.938 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4307, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.4308, allocations: 8 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.4308, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.4308, allocations: 3.953 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.4308, allocations: 4 kB / 1.325 GB, free: 15.08 MB / 1.029 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.0001116/0.4309, allocations: 117.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.431, allocations: 7.953 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.431, allocations: 19.8 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.431, allocations: 4 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.431, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.431, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.4315, allocations: 470.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4315, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.4315, allocations: 4 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4315, allocations: 64 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4315, allocations: 4 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4315, allocations: 3.984 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4315, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.4316, allocations: 77.84 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.4317, allocations: 92.98 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4317, allocations: 7.938 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.4317, allocations: 4.031 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.4317, allocations: 0 / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.4317, allocations: 0 / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001079/0.4318, allocations: 124.8 kB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4318, allocations: 0 / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001775/0.432, allocations: 8 kB / 1.325 GB, free: 14.03 MB / 1.029 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.0001345/0.4321, allocations: 99.25 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.4322, allocations: 19.98 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4322, allocations: 3.938 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.4323, allocations: 8 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.4324, allocations: 15.53 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.4328, allocations: 158.7 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4331, allocations: 0.6965 MB / 1.326 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.4332, allocations: 8.516 kB / 1.326 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.4332, allocations: 11.44 kB / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4332, allocations: 0 / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Templates: time 0.003124/0.4363, allocations: 468.5 kB / 1.327 GB, free: 12.49 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.664024848025292]