Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001892/0.001892, allocations: 82.41 kB / 19.76 MB, free: 1.875 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.002376/0.002376, allocations: 163.2 kB / 23.01 MB, free: 4.594 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.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.802/2.802, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002196/0.002196, allocations: 63.89 kB / 0.982 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9456/0.9478, allocations: 176.1 MB / 1.154 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.003297/0.9511, allocations: 0.798 MB / 1.155 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.9513, allocations: 37.09 kB / 1.155 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.9514, allocations: 1.25 kB / 1.155 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.224e-05/0.9515, allocations: 10.75 kB / 1.155 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.9516, allocations: 14.58 kB / 1.155 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.865e-05/0.9517, allocations: 15.53 kB / 1.155 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.9518, allocations: 63.67 kB / 1.155 GB, free: 2.492 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.9521, allocations: 30.98 kB / 1.155 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.9522, allocations: 23.64 kB / 1.155 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.9523, allocations: 29.42 kB / 1.155 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.9523, allocations: 6.594 kB / 1.155 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/0.9523, allocations: 5.781 kB / 1.155 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.9523, allocations: 16.5 kB / 1.155 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.9524, allocations: 28.41 kB / 1.155 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.9526, allocations: 87.14 kB / 1.155 GB, free: 2.375 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.9526, allocations: 0.7031 kB / 1.155 GB, free: 2.375 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9526, allocations: 0 / 1.155 GB, free: 2.375 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.9526, allocations: 0 / 1.155 GB, free: 2.375 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.0006498/0.9533, allocations: 304.8 kB / 1.155 GB, free: 2.078 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.9533, allocations: 12.44 kB / 1.155 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.9534, allocations: 10.27 kB / 1.155 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.9537, allocations: 133.6 kB / 1.155 GB, free: 1.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.9537, allocations: 7.891 kB / 1.155 GB, free: 1.926 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.9537, allocations: 8.969 kB / 1.156 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.954, allocations: 98.23 kB / 1.156 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.954, allocations: 1.031 kB / 1.156 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.954, allocations: 5.031 kB / 1.156 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.954, allocations: 1.25 kB / 1.156 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.9542, allocations: 44.86 kB / 1.156 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.955, allocations: 356.2 kB / 1.156 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.9551, allocations: 38.31 kB / 1.156 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.9551, allocations: 19.83 kB / 1.156 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.9552, allocations: 1.125 kB / 1.156 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.9552, allocations: 33.48 kB / 1.156 GB, free: 1.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 3.607e-06/0.9552, allocations: 3.984 kB / 1.156 GB, free: 1.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.9554, allocations: 59.08 kB / 1.156 GB, free: 1.336 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.9555, allocations: 79.48 kB / 1.156 GB, free: 1.242 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.9556, allocations: 136.5 kB / 1.156 GB, free: 1.125 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.9556, allocations: 25.7 kB / 1.156 GB, free: 1.094 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.9557, allocations: 113.3 kB / 1.156 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.9557, allocations: 14 kB / 1.156 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.9558, allocations: 14.09 kB / 1.156 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.956, allocations: 319.3 kB / 1.157 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.956, allocations: 4.234 kB / 1.157 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.956, allocations: 24.3 kB / 1.157 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.9561, allocations: 23.44 kB / 1.157 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9561, allocations: 4 kB / 1.157 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.9562, allocations: 60.62 kB / 1.157 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9562, allocations: 4.875 kB / 1.157 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9562, allocations: 1.25 kB / 1.157 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.9563, allocations: 5.859 kB / 1.157 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.9563, allocations: 5.984 kB / 1.157 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9564, allocations: 0 / 1.157 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.9564, allocations: 1.938 kB / 1.157 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.9564, allocations: 1.516 kB / 1.157 GB, free: 0.5469 MB / 1.014 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.000141/0.9565, allocations: 119 kB / 1.157 GB, free: 436 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.9566, allocations: 7.656 kB / 1.157 GB, free: 432 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.9566, allocations: 14.42 kB / 1.157 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.9566, allocations: 1.812 kB / 1.157 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9567, allocations: 0 / 1.157 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9567, allocations: 1.094 kB / 1.157 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.9572, allocations: 409.3 kB / 1.157 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.9572, allocations: 5.125 kB / 1.157 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.9573, allocations: 3.594 kB / 1.157 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9573, allocations: 1.312 kB / 1.157 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.9573, allocations: 4.062 kB / 1.157 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.762e-05/0.9573, allocations: 9.953 kB / 1.157 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9573, allocations: 0 / 1.157 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.9574, allocations: 73.48 kB / 1.158 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.9575, allocations: 16.06 kB / 1.158 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.9575, allocations: 5.469 kB / 1.158 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.9575, allocations: 4.641 kB / 1.158 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.9575, allocations: 1.953 kB / 1.158 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.9575, allocations: 1.25 kB / 1.158 GB, free: 15.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001027/0.9576, allocations: 96.23 kB / 1.158 GB, free: 15.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.9576, allocations: 5.156 kB / 1.158 GB, free: 15.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002339/0.9579, allocations: 14.47 kB / 1.158 GB, free: 15.79 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.0001679/0.958, allocations: 95.75 kB / 1.158 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.9582, allocations: 19.83 kB / 1.158 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9582, allocations: 0 / 1.158 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.9582, allocations: 4.047 kB / 1.158 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.9584, allocations: 14.73 kB / 1.158 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.9588, allocations: 153.5 kB / 1.158 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.9589, allocations: 83.98 kB / 1.158 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.9589, allocations: 4.641 kB / 1.158 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.9589, allocations: 10.56 kB / 1.158 GB, free: 15.45 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/0.9589, allocations: 1.125 kB / 1.158 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Templates: time 0.002966/0.9619, allocations: 324 kB / 1.158 GB, free: 15.38 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.944937267922796]