Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001002/0.001002, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.00124/0.00124, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9409/0.9409, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.104/2.104, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.082e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00385/0.003881, allocations: 2.105 MB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.005227, allocations: 0.6269 MB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.005367, allocations: 4 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.005518, allocations: 27.61 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.005634, allocations: 43.16 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.006092, allocations: 103.8 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.006421, allocations: 236 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.00663, allocations: 76.03 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.006904, allocations: 143.6 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.00703, allocations: 75.78 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.007071, allocations: 24 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.00716, allocations: 36.86 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.007228, allocations: 55.77 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.007305, allocations: 72.8 kB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.007581, allocations: 175.3 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.007584, allocations: 0 / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007585, allocations: 0.75 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.00759, allocations: 0 / 0.8819 GB, free: 2.496 MB / 0.8386 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.0007267/0.008317, allocations: 0.5536 MB / 0.8824 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.008361, allocations: 12.03 kB / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.008682, allocations: 60.73 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.009049, allocations: 193.1 kB / 0.8827 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.009071, allocations: 16.38 kB / 0.8827 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.009097, allocations: 17 kB / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.009417, allocations: 274.9 kB / 0.883 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.009429, allocations: 192 / 0.883 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.009449, allocations: 17.14 kB / 0.883 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.009461, allocations: 7.938 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.00957, allocations: 60.77 kB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.01024, allocations: 0.5122 MB / 0.8836 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.01046, allocations: 87.2 kB / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.01051, allocations: 27.67 kB / 0.8837 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.01053, allocations: 4 kB / 0.8837 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.01055, allocations: 33.39 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.01055, allocations: 0 / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002584/0.01081, allocations: 109.7 kB / 0.8838 GB, free: 372 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.01089, allocations: 128.5 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.0111, allocations: 243.2 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.01113, allocations: 33.7 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01125, allocations: 195 kB / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.01128, allocations: 35.73 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.01135, allocations: 39.36 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.01153, allocations: 0.5 MB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.0116, allocations: 23.92 kB / 0.885 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.01174, allocations: 155.5 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.01185, allocations: 50.61 kB / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01186, allocations: 0 / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002284/0.01209, allocations: 105.5 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.01211, allocations: 4 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01211, allocations: 8.031 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01213, allocations: 0 / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01224, allocations: 19.98 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01225, allocations: 3.938 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.01235, allocations: 23.88 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01236, allocations: 0 / 0.8853 GB, free: 14.69 MB / 0.8542 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 0.0001411/0.0125, allocations: 175 kB / 0.8855 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.01255, allocations: 15.91 kB / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.01261, allocations: 17.47 kB / 0.8855 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.01261, allocations: 11.98 kB / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01262, allocations: 0 / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01262, allocations: 0 / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.01291, allocations: 196.5 kB / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01291, allocations: 0 / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.01298, allocations: 11.94 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01299, allocations: 0 / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.013, allocations: 7.984 kB / 0.8857 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.013, allocations: 0 / 0.8857 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01301, allocations: 0 / 0.8857 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.01328, allocations: 243.7 kB / 0.886 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.0133, allocations: 19.84 kB / 0.886 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.01334, allocations: 4 kB / 0.886 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.01347, allocations: 19.98 kB / 0.886 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.01356, allocations: 19.95 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.01358, allocations: 7.984 kB / 0.886 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00012/0.0137, allocations: 167.1 kB / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0137, allocations: 0 / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004234/0.01413, allocations: 43.84 kB / 0.8862 GB, free: 13.68 MB / 0.8542 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 0.0001376/0.01426, allocations: 107.7 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.01448, allocations: 67.59 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01448, allocations: 3.938 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.01456, allocations: 39.55 kB / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.01498, allocations: 31.92 kB / 0.8865 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.01603, allocations: 338.7 kB / 0.8868 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.0161, allocations: 75.83 kB / 0.8869 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.01617, allocations: 17.52 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.01625, allocations: 24.48 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.01625, allocations: 0 / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.00592/0.02217, allocations: 2.14 MB / 0.889 GB, free: 10.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.600381183903664]