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.001015/0.001015, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001182/0.001182, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9855/0.9855, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.854/1.854, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.402e-06/1.402e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.681e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.004657/0.004674, allocations: 0.8194 MB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.004794, allocations: 41.22 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.00484, allocations: 4 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.004881, allocations: 16.95 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.00496, allocations: 7.922 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.741e-05/0.005007, allocations: 19.98 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.005114, allocations: 60.47 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.005238, allocations: 31.91 kB / 0.8125 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.005344, allocations: 49.23 kB / 0.8126 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.005385, allocations: 11.92 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.005408, allocations: 8 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.005417, allocations: 5.031 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.005438, allocations: 15.92 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.005469, allocations: 19.92 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.242e-05/0.005562, allocations: 40.52 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005564, allocations: 0 / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005565, allocations: 0.9062 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.005569, allocations: 0 / 0.8127 GB, free: 0.6094 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.0003973/0.005966, allocations: 412.8 kB / 0.8131 GB, free: 172 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.006007, allocations: 8.969 kB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.006051, allocations: 16.89 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.006213, allocations: 136.5 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.006227, allocations: 13.09 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.006238, allocations: 4.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.006378, allocations: 98.31 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.006386, allocations: 192 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006399, allocations: 5.625 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.006407, allocations: 384 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.006461, allocations: 31.86 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.006969, allocations: 0.7469 MB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.01007, allocations: 265.6 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.01011, allocations: 134.9 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.01014, allocations: 119.2 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.01019, allocations: 157.7 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.01019, allocations: 0 / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.931e-05/0.01026, allocations: 41.58 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.01033, allocations: 175.6 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.01045, allocations: 196.3 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.01046, allocations: 25.7 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.01055, allocations: 183.4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.01055, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.01059, allocations: 27.38 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.01072, allocations: 0.4902 MB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.01073, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.01078, allocations: 77.48 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.01086, allocations: 91.45 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01087, allocations: 1.438 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001438/0.01101, allocations: 86.8 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01102, allocations: 8 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.01103, allocations: 1.844 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01105, allocations: 4 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.01111, allocations: 15.98 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01112, allocations: 7.875 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.01115, allocations: 7.953 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.01116, allocations: 8.625 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.549e-05/0.01126, allocations: 280.4 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.01131, allocations: 148.9 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.01137, allocations: 165.8 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-05/0.01143, allocations: 268 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.05e-05/0.0115, allocations: 272 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.694e-05/0.01157, allocations: 272.6 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.01177, allocations: 0.5089 MB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/0.01181, allocations: 148.8 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.01185, allocations: 144.9 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.01192, allocations: 276.8 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/0.01199, allocations: 268.1 kB / 0.8188 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.213e-05/0.01206, allocations: 264.1 kB / 0.819 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.978e-05/0.01213, allocations: 273 kB / 0.8193 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.01227, allocations: 455.8 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.01232, allocations: 154.2 kB / 0.8199 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.0124, allocations: 272 kB / 0.8201 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.01247, allocations: 144.9 kB / 0.8203 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.01255, allocations: 272.4 kB / 0.8205 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.01259, allocations: 157.6 kB / 0.8207 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.775e-05/0.01264, allocations: 141.4 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01264, allocations: 2.062 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003253/0.0159, allocations: 11.95 kB / 0.8208 GB, free: 7.781 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001098/0.01601, allocations: 214.4 kB / 0.821 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.509e-05/0.0161, allocations: 39.73 kB / 0.8211 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0161, allocations: 0 / 0.8211 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.01611, allocations: 0 / 0.8211 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.01658, allocations: 0.71 MB / 0.8218 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.01687, allocations: 273.7 kB / 0.822 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.01691, allocations: 64.45 kB / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.01695, allocations: 9.25 kB / 0.8221 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.01697, allocations: 13.59 kB / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01697, allocations: 0 / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of Templates: time 0.005104/0.02207, allocations: 310.2 kB / 0.8224 GB, free: 6.113 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.117505774833262]