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.001895/0.001895, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002425/0.002425, allocations: 174.3 kB / 22.46 MB, free: 5.355 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.743/2.743, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.951 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.571e-05, allocations: 4.812 kB / 0.951 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001906/0.001931, allocations: 0.7908 MB / 0.9518 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.002048, allocations: 43.78 kB / 0.9518 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.002095, allocations: 0 / 0.9518 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.002134, allocations: 7.875 kB / 0.9518 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.002213, allocations: 19.86 kB / 0.9518 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.627e-05/0.00226, allocations: 15.98 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.002387, allocations: 63.78 kB / 0.9519 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.002535, allocations: 39.97 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.00261, allocations: 35.91 kB / 0.952 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.002663, allocations: 19.91 kB / 0.952 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.002689, allocations: 7.938 kB / 0.952 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.002702, allocations: 8 kB / 0.952 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.002721, allocations: 11.92 kB / 0.952 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.002756, allocations: 23.92 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.002879, allocations: 71.7 kB / 0.9521 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002881, allocations: 4 kB / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.454e-06/0.002883, allocations: 3.984 kB / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.002892, allocations: 0 / 0.9521 GB, free: 10.46 MB / 0.8575 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.0004937/0.003385, allocations: 305.9 kB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.00342, allocations: 8.031 kB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.003457, allocations: 8.891 kB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.003664, allocations: 133.6 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.003675, allocations: 8.375 kB / 0.9526 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.003692, allocations: 8.375 kB / 0.9526 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.003866, allocations: 95.88 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003874, allocations: 4.188 kB / 0.9527 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.003885, allocations: 4.375 kB / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.00389, allocations: 384 / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.828e-05/0.003968, allocations: 35.92 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.004475, allocations: 368.4 kB / 0.953 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.00454, allocations: 33.22 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.004573, allocations: 17.78 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.00458, allocations: 0 / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.004621, allocations: 42.59 kB / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.004622, allocations: 0 / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.004794, allocations: 49.62 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.004855, allocations: 81.11 kB / 0.9533 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.005001, allocations: 131.5 kB / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.005018, allocations: 25.7 kB / 0.9534 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.005092, allocations: 107.9 kB / 0.9535 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.005103, allocations: 11.95 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.005139, allocations: 13.72 kB / 0.9535 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.00528, allocations: 315.1 kB / 0.9538 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/0.005299, allocations: 11.98 kB / 0.9539 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.005323, allocations: 17.72 kB / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.005371, allocations: 29.66 kB / 0.9539 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.005375, allocations: 4 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.649e-05/0.005461, allocations: 53.64 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005473, allocations: 4 kB / 0.954 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.005477, allocations: 0 / 0.954 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.00549, allocations: 3.938 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.005551, allocations: 19.94 kB / 0.954 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.005558, allocations: 3.938 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.005582, allocations: 0 / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.005588, allocations: 4 kB / 0.954 GB, free: 8.328 MB / 0.8575 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 8.671e-05/0.005675, allocations: 113.8 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.005718, allocations: 7.938 kB / 0.9541 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.005742, allocations: 11.56 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.005746, allocations: 3.984 kB / 0.9541 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.005753, allocations: 4 kB / 0.9541 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.005758, allocations: 3.938 kB / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.006162, allocations: 418.4 kB / 0.9545 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006164, allocations: 0 / 0.9545 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.006185, allocations: 4 kB / 0.9545 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006187, allocations: 0 / 0.9545 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.006196, allocations: 7.938 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006197, allocations: 0 / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006198, allocations: 0 / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.614e-05/0.006294, allocations: 77.88 kB / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.006315, allocations: 7.953 kB / 0.9546 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.006328, allocations: 8.031 kB / 0.9546 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.779e-05/0.006346, allocations: 0 / 0.9546 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.006364, allocations: 11.98 kB / 0.9546 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.006366, allocations: 0 / 0.9546 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.006436, allocations: 98.27 kB / 0.9547 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.006436, allocations: 0 / 0.9547 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002107/0.006647, allocations: 8 kB / 0.9547 GB, free: 7.484 MB / 0.8575 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.0001409/0.006788, allocations: 99.25 kB / 0.9548 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.954e-05/0.006867, allocations: 15.94 kB / 0.9548 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006869, allocations: 4.125 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.00688, allocations: 4 kB / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.007029, allocations: 9.859 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.007383, allocations: 162.7 kB / 0.955 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.599e-05/0.007459, allocations: 81.59 kB / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.007488, allocations: 8.109 kB / 0.9551 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.007512, allocations: 16.44 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.007512, allocations: 0 / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.002832/0.01034, allocations: 343.1 kB / 0.9554 GB, free: 6.703 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.06049332395196]