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.002021/0.002021, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002432/0.002432, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.887/2.887, allocations: 377.8 MB / 0.6232 GB, free: 8.555 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.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: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.89e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002421/0.002459, allocations: 0.7949 MB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.002645, allocations: 49.47 kB / 0.8116 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.00271, allocations: 0 / 0.8116 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.002754, allocations: 7.875 kB / 0.8116 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.002851, allocations: 11.88 kB / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.926e-05/0.00291, allocations: 19.91 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.003037, allocations: 65.38 kB / 0.8117 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.003168, allocations: 31.91 kB / 0.8118 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003274, allocations: 35.91 kB / 0.8118 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.003329, allocations: 25.25 kB / 0.8118 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.003353, allocations: 8 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.003363, allocations: 4 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.003402, allocations: 19.92 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.003449, allocations: 20.75 kB / 0.8119 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.00359, allocations: 67.77 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003593, allocations: 0.5312 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003593, allocations: 0 / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.0036, allocations: 0.625 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 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.000508/0.004108, allocations: 306.6 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.00415, allocations: 8.031 kB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.004208, allocations: 18.27 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.004446, allocations: 133.6 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.004467, allocations: 12.36 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.00448, allocations: 6.125 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.004674, allocations: 99.8 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.004684, allocations: 192 / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.004698, allocations: 4.375 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004706, allocations: 4.375 kB / 0.8125 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.004799, allocations: 37.05 kB / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.00541, allocations: 356.4 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.005488, allocations: 37.7 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.005533, allocations: 23.47 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.00554, allocations: 0 / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.005575, allocations: 34.59 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.005576, allocations: 8.812 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.005767, allocations: 51.81 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.005833, allocations: 81.09 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.005983, allocations: 132.3 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.006003, allocations: 25.7 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.006097, allocations: 115.9 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.006108, allocations: 7.953 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.006149, allocations: 18.23 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.006326, allocations: 315.6 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.006349, allocations: 8 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.006378, allocations: 18.2 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.006429, allocations: 31.25 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.006435, allocations: 4 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.138e-05/0.006526, allocations: 46.33 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.006548, allocations: 7.984 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.006553, allocations: 0.8125 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.006574, allocations: 4 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.006639, allocations: 8.875 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.006646, allocations: 3.938 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.006675, allocations: 9.109 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.006682, allocations: 8 kB / 0.8138 GB, free: 14.82 MB / 0.7761 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.671e-05/0.006779, allocations: 109.8 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.006821, allocations: 8.969 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.006842, allocations: 7.453 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006843, allocations: 2.312 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.00685, allocations: 4 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.006856, allocations: 3.938 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.007319, allocations: 418.4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00732, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.00734, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007342, allocations: 7.312 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.00735, allocations: 3.938 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007352, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007353, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.007457, allocations: 77.92 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.007485, allocations: 7.953 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007502, allocations: 11.88 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.00752, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.007533, allocations: 1.031 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.007535, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.536e-05/0.00762, allocations: 103.3 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00762, allocations: 0.5 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001961/0.007816, allocations: 9.016 kB / 0.8146 GB, free: 14 MB / 0.7761 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.0001282/0.007945, allocations: 100.2 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.008028, allocations: 19.94 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00803, allocations: 0.5938 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.008042, allocations: 5.625 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.008205, allocations: 4 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.008659, allocations: 170 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.386e-05/0.008742, allocations: 80.28 kB / 0.8149 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.008776, allocations: 13.16 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.008811, allocations: 12.5 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.008811, allocations: 0.6562 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.002871/0.01168, allocations: 351.9 kB / 0.8153 GB, free: 13.21 MB / 0.7761 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: 7.8099893080070615]