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.0009654/0.0009654, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009675/0.0009675, allocations: 173 kB / 23.5 MB, free: 1.051 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.9283/0.9283, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.036/2.036, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.538e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003346/0.003362, allocations: 2.097 MB / 0.8803 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.004219, allocations: 0.6305 MB / 0.8809 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.00431, allocations: 4 kB / 0.8809 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.004427, allocations: 19.73 kB / 0.8809 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.004486, allocations: 40.14 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.004782, allocations: 101.2 kB / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004979, allocations: 239.9 kB / 0.8813 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.005147, allocations: 80.03 kB / 0.8813 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.005327, allocations: 133.3 kB / 0.8815 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.005426, allocations: 79.7 kB / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.005454, allocations: 24 kB / 0.8816 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.005519, allocations: 35.92 kB / 0.8816 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.00557, allocations: 57.17 kB / 0.8816 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.005625, allocations: 71.77 kB / 0.8817 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.005834, allocations: 179.3 kB / 0.8819 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005836, allocations: 4 kB / 0.8819 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.02e-07/0.005836, allocations: 0 / 0.8819 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005841, allocations: 0 / 0.8819 GB, free: 2.848 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.0005293/0.006371, allocations: 0.5462 MB / 0.8824 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.006404, allocations: 12.03 kB / 0.8824 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.006617, allocations: 60.72 kB / 0.8825 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.006848, allocations: 197.1 kB / 0.8827 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.006864, allocations: 16.38 kB / 0.8827 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.006886, allocations: 20.38 kB / 0.8827 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.007169, allocations: 278.2 kB / 0.883 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.00718, allocations: 192 / 0.883 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.007198, allocations: 8.375 kB / 0.883 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.00721, allocations: 7.938 kB / 0.883 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.007333, allocations: 59.95 kB / 0.8831 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.007991, allocations: 0.5185 MB / 0.8836 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.008219, allocations: 79.22 kB / 0.8836 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.008267, allocations: 27.67 kB / 0.8837 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.008311, allocations: 4 kB / 0.8837 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.008344, allocations: 41.52 kB / 0.8837 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.008345, allocations: 0 / 0.8837 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002829/0.008628, allocations: 101.5 kB / 0.8838 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.008695, allocations: 132.5 kB / 0.8839 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.008857, allocations: 235.7 kB / 0.8842 GB, free: 316 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.00888, allocations: 37.7 kB / 0.8842 GB, free: 272 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.008982, allocations: 199 kB / 0.8844 GB, free: 68 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.009003, allocations: 27.75 kB / 0.8844 GB, free: 40 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.009067, allocations: 43.36 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.009206, allocations: 0.5039 MB / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.009251, allocations: 12 kB / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.009348, allocations: 155.5 kB / 0.8851 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.009425, allocations: 50.31 kB / 0.8851 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009427, allocations: 0 / 0.8851 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001441/0.009571, allocations: 105.6 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.009585, allocations: 4 kB / 0.8853 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.009591, allocations: 4 kB / 0.8853 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009605, allocations: 3.938 kB / 0.8853 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.009678, allocations: 15.98 kB / 0.8853 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.009684, allocations: 3.938 kB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.009899, allocations: 27.88 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.009907, allocations: 0 / 0.8853 GB, free: 15.05 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 9.368e-05/0.01, allocations: 172.5 kB / 0.8855 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01003, allocations: 15.91 kB / 0.8855 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.01007, allocations: 29.39 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01007, allocations: 4 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01007, allocations: 0 / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01008, allocations: 0 / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.01025, allocations: 196.5 kB / 0.8857 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01026, allocations: 4 kB / 0.8857 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.01029, allocations: 11.98 kB / 0.8857 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.01029, allocations: 0 / 0.8857 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01031, allocations: 4 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.01031, allocations: 4 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01031, allocations: 0 / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.01048, allocations: 243.7 kB / 0.886 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01049, allocations: 19.83 kB / 0.886 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.01052, allocations: 4 kB / 0.886 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.01058, allocations: 15.98 kB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.01064, allocations: 19.95 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.01065, allocations: 4 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.142e-05/0.01073, allocations: 176.1 kB / 0.8862 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01073, allocations: 0 / 0.8862 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001721/0.0109, allocations: 47.84 kB / 0.8862 GB, free: 14.03 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 8.929e-05/0.01099, allocations: 107.7 kB / 0.8863 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01116, allocations: 67.53 kB / 0.8864 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01116, allocations: 0 / 0.8864 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.01121, allocations: 35.67 kB / 0.8864 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01143, allocations: 31.91 kB / 0.8865 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.01215, allocations: 338.7 kB / 0.8868 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.0122, allocations: 75.83 kB / 0.8869 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.671e-05/0.01226, allocations: 17.52 kB / 0.8869 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.01231, allocations: 24.48 kB / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.01231, allocations: 0 / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.004424/0.01674, allocations: 2.144 MB / 0.889 GB, free: 11.21 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.178173538064584]