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.00189/0.00189, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001968/0.001968, allocations: 165.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.607/1.607, allocations: 177.1 MB / 203.9 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.098/3.098, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8108 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.854e-05, allocations: 6.25 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002434/0.002463, allocations: 0.8033 MB / 0.8116 GB, free: 196 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.002613, allocations: 37.05 kB / 0.8116 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.00268, allocations: 4 kB / 0.8116 GB, free: 156 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.002731, allocations: 13.73 kB / 0.8116 GB, free: 144 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.002842, allocations: 7.922 kB / 0.8117 GB, free: 136 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.557e-05/0.002907, allocations: 23.92 kB / 0.8117 GB, free: 112 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003053, allocations: 63.69 kB / 0.8117 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.003216, allocations: 31.92 kB / 0.8118 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.00335, allocations: 40.62 kB / 0.8118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.00342, allocations: 15.91 kB / 0.8118 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.003447, allocations: 8.781 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.00346, allocations: 4 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.003494, allocations: 21.17 kB / 0.8119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.003533, allocations: 15.92 kB / 0.8119 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.003718, allocations: 83.62 kB / 0.8119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.00372, allocations: 1.406 kB / 0.812 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003721, allocations: 0 / 0.812 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.003727, allocations: 0 / 0.812 GB, free: 15.83 MB / 0.7292 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.000637/0.004364, allocations: 404.7 kB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.004403, allocations: 8.031 kB / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.004463, allocations: 21.75 kB / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.004703, allocations: 136.4 kB / 0.8125 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.004724, allocations: 8.375 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.004737, allocations: 5.031 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.004929, allocations: 107.7 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.004939, allocations: 192 / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004949, allocations: 1.625 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.004956, allocations: 4.375 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.005049, allocations: 39.92 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.005703, allocations: 476.6 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.005795, allocations: 54.19 kB / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.005844, allocations: 23.44 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.005862, allocations: 7.984 kB / 0.8132 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.005897, allocations: 38.14 kB / 0.8132 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005898, allocations: 0 / 0.8132 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.0061, allocations: 54.7 kB / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.006179, allocations: 85.7 kB / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.006363, allocations: 201.5 kB / 0.8136 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.006383, allocations: 26.2 kB / 0.8136 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.006506, allocations: 159.2 kB / 0.8137 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.006518, allocations: 8.828 kB / 0.8137 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.006566, allocations: 19.38 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002806/0.006847, allocations: 0.4923 MB / 0.8142 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.006868, allocations: 8.812 kB / 0.8142 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.0069, allocations: 19.38 kB / 0.8143 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.006958, allocations: 37.22 kB / 0.8143 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006959, allocations: 3.938 kB / 0.8143 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.174e-05/0.007051, allocations: 54.94 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.007068, allocations: 4 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007073, allocations: 0 / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007086, allocations: 0 / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.007152, allocations: 12.59 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.007161, allocations: 8.641 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.00719, allocations: 7.953 kB / 0.8144 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.007196, allocations: 4.531 kB / 0.8144 GB, free: 13.09 MB / 0.7292 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.0001263/0.007323, allocations: 162 kB / 0.8145 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.007361, allocations: 4 kB / 0.8146 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.007387, allocations: 7.469 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007389, allocations: 0 / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007392, allocations: 1.531 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.007401, allocations: 7.938 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.007951, allocations: 0.5577 MB / 0.8151 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.007955, allocations: 4.875 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.007973, allocations: 0 / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.007978, allocations: 7.469 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.007987, allocations: 3.938 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007989, allocations: 0 / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.007994, allocations: 7.969 kB / 0.8151 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.00812, allocations: 88.08 kB / 0.8152 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.00814, allocations: 7.953 kB / 0.8152 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.00816, allocations: 11.92 kB / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.008177, allocations: 0 / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.008196, allocations: 0 / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.008198, allocations: 0.5 kB / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001141/0.008312, allocations: 149 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008312, allocations: 0 / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001946/0.008507, allocations: 11.95 kB / 0.8154 GB, free: 11.99 MB / 0.7292 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.0001288/0.008635, allocations: 91.25 kB / 0.8155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.008746, allocations: 32.8 kB / 0.8155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.008747, allocations: 0 / 0.8155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.00877, allocations: 17.09 kB / 0.8155 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.008919, allocations: 6.234 kB / 0.8155 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.009303, allocations: 190.9 kB / 0.8157 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.009398, allocations: 77.08 kB / 0.8158 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.009429, allocations: 5.312 kB / 0.8158 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.009453, allocations: 8.5 kB / 0.8158 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.009453, allocations: 0 / 0.8158 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.003098/0.01255, allocations: 349.5 kB / 0.8161 GB, free: 11.18 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] 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/jenkins/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.19780704297591]