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.001159/0.001159, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009748/0.0009748, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9966/0.9966, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.931/1.931, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.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.064e-06/2.064e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.291e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002334/0.002367, allocations: 0.8214 MB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.002528, allocations: 36.67 kB / 0.8128 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.002598, allocations: 4 kB / 0.8128 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.757e-05/0.002645, allocations: 7.875 kB / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.002748, allocations: 20.62 kB / 0.8129 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.083e-05/0.002798, allocations: 15.98 kB / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.002921, allocations: 61.53 kB / 0.8129 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.003067, allocations: 31.91 kB / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.003207, allocations: 47.83 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.003251, allocations: 13.45 kB / 0.813 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.003275, allocations: 8 kB / 0.813 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-06/0.003284, allocations: 4 kB / 0.813 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.00331, allocations: 15.92 kB / 0.8131 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.003343, allocations: 20.42 kB / 0.8131 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.003454, allocations: 35.84 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003457, allocations: 0.8125 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003458, allocations: 0 / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003462, allocations: 0.7188 kB / 0.8131 GB, free: 328 kB / 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.0004645/0.003926, allocations: 417.7 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 0.003053/0.006979, allocations: 8.031 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.007049, allocations: 16.89 kB / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.007206, allocations: 136.5 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.00722, allocations: 8.375 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.007231, allocations: 4.906 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.007352, allocations: 90.78 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.007361, allocations: 192 / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.007371, allocations: 8.906 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.007379, allocations: 9.938 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.007409, allocations: 27.84 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.007867, allocations: 0.7145 MB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.00801, allocations: 273.5 kB / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.008061, allocations: 135.5 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.008095, allocations: 119.8 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.008151, allocations: 152.6 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.008153, allocations: 0.7812 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.692e-05/0.00823, allocations: 41.58 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.008293, allocations: 171.8 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.008428, allocations: 200 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.008438, allocations: 25.7 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.008528, allocations: 183.8 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.008532, allocations: 3.984 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.008572, allocations: 23.38 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.008714, allocations: 0.4901 MB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.008728, allocations: 7.984 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.008776, allocations: 69.5 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.008863, allocations: 95.56 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.008865, allocations: 2.812 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002218/0.009087, allocations: 81.45 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.009105, allocations: 10.81 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.009112, allocations: 0 / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.009128, allocations: 5.562 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.009192, allocations: 12 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.009199, allocations: 7.922 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.009234, allocations: 11.89 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.00924, allocations: 4.625 kB / 0.8166 GB, free: 12.52 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 0.0001098/0.00935, allocations: 284.3 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.009412, allocations: 149.5 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.009477, allocations: 160.6 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.08e-05/0.009547, allocations: 264.6 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.43e-05/0.009622, allocations: 273.4 kB / 0.8176 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-05/0.009695, allocations: 272 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.009923, allocations: 496.5 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.009967, allocations: 148.8 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.01001, allocations: 155.4 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.388e-05/0.01009, allocations: 272 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.01016, allocations: 264.1 kB / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.248e-05/0.01023, allocations: 268.1 kB / 0.8194 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.586e-05/0.0103, allocations: 268 kB / 0.8197 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.01063, allocations: 459.8 kB / 0.8201 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.0107, allocations: 152.8 kB / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.01078, allocations: 268.7 kB / 0.8205 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.01086, allocations: 148.9 kB / 0.8207 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.01094, allocations: 273.4 kB / 0.8209 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.01098, allocations: 148.8 kB / 0.8211 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.41e-05/0.01104, allocations: 145.7 kB / 0.8212 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01104, allocations: 0 / 0.8212 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002661/0.01131, allocations: 11.95 kB / 0.8212 GB, free: 7.57 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.0001593/0.01147, allocations: 215.3 kB / 0.8214 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.01155, allocations: 44.05 kB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01156, allocations: 0 / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.01156, allocations: 0 / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.01198, allocations: 0.7061 MB / 0.8222 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.01228, allocations: 273.7 kB / 0.8224 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.01232, allocations: 59.34 kB / 0.8225 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.01237, allocations: 10.16 kB / 0.8225 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.01241, allocations: 70.2 kB / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01241, allocations: 0 / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.002329/0.01474, allocations: 342.8 kB / 0.8229 GB, free: 5.816 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.202890439424664]