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.00142/0.00142, 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.001568/0.001568, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.511/1.511, allocations: 177.2 MB / 203.9 MB, free: 5.605 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.836/2.836, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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.924e-06/1.924e-06, allocations: 0 / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.271e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002347/0.00238, allocations: 0.8006 MB / 0.8116 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.002549, allocations: 35.84 kB / 0.8116 GB, free: 124 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.002612, allocations: 4.594 kB / 0.8116 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.002654, allocations: 7.875 kB / 0.8116 GB, free: 112 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.002748, allocations: 16.98 kB / 0.8117 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.134e-05/0.00281, allocations: 19.98 kB / 0.8117 GB, free: 76 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.002945, allocations: 59.75 kB / 0.8117 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.003105, allocations: 34 kB / 0.8118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.003203, allocations: 35.86 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.003264, allocations: 19.91 kB / 0.8118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.003288, allocations: 11.94 kB / 0.8118 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.003299, allocations: 4 kB / 0.8118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.003337, allocations: 21.27 kB / 0.8119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.003376, allocations: 11.98 kB / 0.8119 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.003518, allocations: 75.64 kB / 0.8119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003521, allocations: 1.594 kB / 0.8119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003522, allocations: 0 / 0.8119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003526, allocations: 3.938 kB / 0.8119 GB, free: 15.8 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.0005157/0.004042, allocations: 306 kB / 0.8122 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.004086, allocations: 12.56 kB / 0.8122 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.004147, allocations: 16.84 kB / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.004398, allocations: 130.4 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.004413, allocations: 4.906 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.004432, allocations: 12.38 kB / 0.8124 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.004626, allocations: 93.38 kB / 0.8125 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.004636, allocations: 192 / 0.8125 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.004652, allocations: 4.375 kB / 0.8125 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.00466, allocations: 4.375 kB / 0.8125 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.851e-05/0.004759, allocations: 40.45 kB / 0.8125 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.005384, allocations: 361.7 kB / 0.8129 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.005459, allocations: 33.22 kB / 0.8129 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.005502, allocations: 22.97 kB / 0.8129 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.005509, allocations: 0 / 0.8129 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.005548, allocations: 35.94 kB / 0.813 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.005549, allocations: 0 / 0.813 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002075/0.005756, allocations: 62.98 kB / 0.813 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.005826, allocations: 77.11 kB / 0.8131 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.005984, allocations: 128.4 kB / 0.8132 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.006014, allocations: 25.7 kB / 0.8133 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.006116, allocations: 117.3 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.006126, allocations: 7.953 kB / 0.8134 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.006175, allocations: 17.72 kB / 0.8134 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.006365, allocations: 310.8 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.006391, allocations: 13.08 kB / 0.8137 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.00642, allocations: 13.72 kB / 0.8137 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.006477, allocations: 35.62 kB / 0.8137 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006479, allocations: 0 / 0.8137 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.006582, allocations: 53.62 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.006598, allocations: 4 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006603, allocations: 2.375 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.006624, allocations: 4 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.006689, allocations: 4 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.006698, allocations: 3.938 kB / 0.8138 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.006732, allocations: 11.95 kB / 0.8138 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.006737, allocations: 0 / 0.8138 GB, free: 13.68 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.0001048/0.006842, allocations: 110.4 kB / 0.8139 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.006886, allocations: 9.938 kB / 0.8139 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.006912, allocations: 7.453 kB / 0.8139 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006914, allocations: 0 / 0.8139 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006917, allocations: 4 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.006923, allocations: 3.938 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.00741, allocations: 424.5 kB / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007411, allocations: 0 / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.007438, allocations: 7.984 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.007441, allocations: 0 / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.00745, allocations: 3.938 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007451, allocations: 0.5312 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.007455, allocations: 4.844 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.007567, allocations: 73.98 kB / 0.8144 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.007591, allocations: 8.734 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.007606, allocations: 7.938 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.007624, allocations: 5.062 kB / 0.8145 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.007639, allocations: 0 / 0.8145 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.007644, allocations: 4 kB / 0.8145 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.426e-05/0.007738, allocations: 108.1 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007738, allocations: 0 / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002027/0.007941, allocations: 15.2 kB / 0.8146 GB, free: 12.83 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.0001459/0.008087, allocations: 91.25 kB / 0.8147 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.07e-05/0.008177, allocations: 19.94 kB / 0.8147 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008179, allocations: 0 / 0.8147 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.008192, allocations: 4 kB / 0.8147 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.008357, allocations: 10.38 kB / 0.8147 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.008748, allocations: 174 kB / 0.8149 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.008834, allocations: 75.33 kB / 0.8149 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.008863, allocations: 4.922 kB / 0.815 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.008897, allocations: 13.62 kB / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.008898, allocations: 0 / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.003023/0.01192, allocations: 354.2 kB / 0.8153 GB, free: 12.06 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=400 -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/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: 7.753885106998496]