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.0009695/0.0009695, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001213/0.001213, allocations: 161 kB / 24.17 MB, free: 332 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.9373/0.9373, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.947/1.947, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.745e-06/2.745e-06, allocations: 3.984 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.288e-05, allocations: 5.344 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00238/0.002403, allocations: 2.071 MB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.003239, allocations: 0.654 MB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.003326, allocations: 7.938 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.00343, allocations: 21.2 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.003498, allocations: 49.08 kB / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.003767, allocations: 99.75 kB / 0.7629 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.003946, allocations: 236 kB / 0.7631 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.004093, allocations: 87.59 kB / 0.7632 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.004268, allocations: 139.7 kB / 0.7633 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.004353, allocations: 76.97 kB / 0.7634 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.004376, allocations: 20 kB / 0.7634 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-05/0.004438, allocations: 35.92 kB / 0.7634 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.004487, allocations: 56.95 kB / 0.7635 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.004534, allocations: 63.83 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.004723, allocations: 175.3 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004725, allocations: 0.9062 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004726, allocations: 0 / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.00473, allocations: 0 / 0.7637 GB, free: 2.887 MB / 0.7136 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.0004138/0.005144, allocations: 422.2 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.005173, allocations: 12.03 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.005361, allocations: 48.89 kB / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.005535, allocations: 182 kB / 0.7643 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.005552, allocations: 12.97 kB / 0.7644 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.005579, allocations: 24.94 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.005795, allocations: 265.7 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005804, allocations: 0.9375 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.005817, allocations: 4.375 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005825, allocations: 8.688 kB / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.005887, allocations: 42.81 kB / 0.7647 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.006451, allocations: 355.8 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.006575, allocations: 62.53 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.006604, allocations: 20.84 kB / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.006619, allocations: 5.562 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.00664, allocations: 34.56 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.006641, allocations: 0 / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001328/0.006774, allocations: 73.8 kB / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.00682, allocations: 134.2 kB / 0.7653 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.00692, allocations: 184.1 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.006939, allocations: 29.7 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.006994, allocations: 144.3 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.007011, allocations: 35.67 kB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.007053, allocations: 48.42 kB / 0.7658 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.007124, allocations: 330.7 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.007147, allocations: 11.98 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.007207, allocations: 129.4 kB / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.007254, allocations: 41.06 kB / 0.7663 GB, free: 56 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007256, allocations: 0 / 0.7663 GB, free: 56 kB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.763e-05/0.007354, allocations: 84.34 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.007364, allocations: 4 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007369, allocations: 4 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.00738, allocations: 0 / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.007435, allocations: 19.92 kB / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.007438, allocations: 0 / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.007482, allocations: 19.88 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007489, allocations: 4.844 kB / 0.7664 GB, free: 15.92 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: 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 6.982e-05/0.007559, allocations: 127.8 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.007581, allocations: 11.98 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.007609, allocations: 22.33 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00761, allocations: 0 / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.007613, allocations: 5.562 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007615, allocations: 0 / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.007732, allocations: 117.8 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007734, allocations: 3.938 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.00777, allocations: 25.2 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.007772, allocations: 0 / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.007777, allocations: 0 / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007778, allocations: 0 / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007779, allocations: 0.6562 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007882, allocations: 167.4 kB / 0.7668 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.007896, allocations: 16.69 kB / 0.7669 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.007916, allocations: 8 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.007965, allocations: 12.55 kB / 0.7669 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.008012, allocations: 27.39 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.008016, allocations: 0 / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.008053, allocations: 53.81 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008053, allocations: 0 / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001387/0.008192, allocations: 35.89 kB / 0.767 GB, free: 15.25 MB / 0.7292 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.981e-05/0.008271, allocations: 92.34 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.008362, allocations: 51.7 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.008365, allocations: 8 kB / 0.7671 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.008399, allocations: 28.78 kB / 0.7672 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.008552, allocations: 32.52 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.009086, allocations: 330.1 kB / 0.7675 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.009122, allocations: 71.83 kB / 0.7676 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.902e-05/0.009171, allocations: 25.95 kB / 0.7676 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.009257, allocations: 75.36 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.009257, allocations: 0 / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.003645/0.0129, allocations: 2.119 MB / 0.7697 GB, free: 12.52 MB / 0.7292 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.887068849056959]