Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.0009469/0.0009469, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009858/0.0009858, allocations: 173 kB / 24.28 MB, free: 276 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.9467/0.9467, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.797/1.797, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 7.938 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.808e-05, allocations: 3.25 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002357/0.002375, allocations: 2.071 MB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.00318, allocations: 0.641 MB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.003267, allocations: 0 / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.351e-05/0.00336, allocations: 19.73 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.003419, allocations: 44.94 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003664, allocations: 96.48 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.003919, allocations: 237.2 kB / 0.8146 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.004064, allocations: 79.97 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.004227, allocations: 139.7 kB / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.004306, allocations: 82.2 kB / 0.8149 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.004332, allocations: 24 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.004387, allocations: 31.94 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.00443, allocations: 55.77 kB / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.004488, allocations: 71.83 kB / 0.815 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.004678, allocations: 183.2 kB / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.004679, allocations: 0.8438 kB / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00468, allocations: 0 / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004684, allocations: 0 / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000505/0.005189, allocations: 0.5437 MB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.005218, allocations: 13.19 kB / 0.8158 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.005427, allocations: 56.78 kB / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.005652, allocations: 198.3 kB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.005668, allocations: 16.38 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.005688, allocations: 16.38 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.005942, allocations: 284.1 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00595, allocations: 192 / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.005967, allocations: 12.38 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.005976, allocations: 7.938 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.006084, allocations: 55.95 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.006645, allocations: 0.5208 MB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.006834, allocations: 79.16 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.006877, allocations: 28.27 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.006893, allocations: 4.531 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.006915, allocations: 33.39 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.006916, allocations: 5.031 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.000214/0.00713, allocations: 109.5 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.007183, allocations: 137.2 kB / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.007325, allocations: 247.8 kB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.007343, allocations: 34.23 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.007434, allocations: 200.4 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.007455, allocations: 27.78 kB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.007507, allocations: 43.36 kB / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.007616, allocations: 0.4961 MB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.007658, allocations: 21.14 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.007741, allocations: 143.5 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.395e-05/0.007815, allocations: 60.2 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007817, allocations: 0 / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001349/0.007952, allocations: 102.4 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.007963, allocations: 8 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.007966, allocations: 1.281 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.007979, allocations: 3.984 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.008037, allocations: 15.94 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008042, allocations: 0 / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.008096, allocations: 20.67 kB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.008105, allocations: 4.875 kB / 0.8186 GB, free: 10.49 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: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.946e-05/0.008184, allocations: 178.1 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.008211, allocations: 15.91 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.00824, allocations: 21.47 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.008243, allocations: 4 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.008246, allocations: 1.094 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.00825, allocations: 3.984 kB / 0.8188 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.008403, allocations: 192.4 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008404, allocations: 3.25 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.008442, allocations: 11.98 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008444, allocations: 0 / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.008455, allocations: 11.98 kB / 0.8191 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.008456, allocations: 0 / 0.8191 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008456, allocations: 0 / 0.8191 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.008608, allocations: 239.7 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.008623, allocations: 19.84 kB / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.008644, allocations: 8.438 kB / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.008709, allocations: 17.02 kB / 0.8193 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.008763, allocations: 19.95 kB / 0.8193 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.008769, allocations: 7.984 kB / 0.8194 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.00884, allocations: 172 kB / 0.8195 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008841, allocations: 0 / 0.8195 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001701/0.009011, allocations: 39.89 kB / 0.8196 GB, free: 9.484 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: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 7.605e-05/0.009087, allocations: 116.5 kB / 0.8197 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.009225, allocations: 69.44 kB / 0.8197 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.009227, allocations: 0 / 0.8197 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.009279, allocations: 36.33 kB / 0.8198 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.009474, allocations: 24.53 kB / 0.8198 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.01009, allocations: 333.4 kB / 0.8201 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.01013, allocations: 75.69 kB / 0.8202 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.287e-05/0.01018, allocations: 16.52 kB / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.01023, allocations: 20.5 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01023, allocations: 0 / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of Templates: time 0.003585/0.01381, allocations: 2.149 MB / 0.8223 GB, free: 6.668 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.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: 4.823451761156321]