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.001335/0.001335, allocations: 93.06 kB / 19.65 MB, free: 280 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.001389/0.001389, allocations: 169 kB / 23.02 MB, free: 1.551 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.8661/0.8661, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.009/2.009, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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 2.685e-06/2.685e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.848e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003127/0.003166, allocations: 2.108 MB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004234, allocations: 0.6307 MB / 0.8809 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.004361, allocations: 7.938 kB / 0.8809 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.004497, allocations: 23.67 kB / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/0.004583, allocations: 44.47 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.004958, allocations: 99.77 kB / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.005207, allocations: 237 kB / 0.8812 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.005411, allocations: 76.03 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.005676, allocations: 147.6 kB / 0.8815 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.005783, allocations: 68.91 kB / 0.8815 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.005817, allocations: 24 kB / 0.8816 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.005899, allocations: 31.94 kB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.005953, allocations: 52.86 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.006013, allocations: 67.83 kB / 0.8817 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.006271, allocations: 175.2 kB / 0.8819 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.006275, allocations: 3.5 kB / 0.8819 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006276, allocations: 0 / 0.8819 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.006283, allocations: 0 / 0.8819 GB, free: 2.555 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.000601/0.006884, allocations: 0.5346 MB / 0.8824 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.006925, allocations: 8.031 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.0072, allocations: 60.67 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.007478, allocations: 205.7 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.0075, allocations: 16.38 kB / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.007523, allocations: 16.97 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.007845, allocations: 275.1 kB / 0.8829 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.007854, allocations: 4.188 kB / 0.8829 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.007872, allocations: 9.219 kB / 0.883 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.007883, allocations: 7.938 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.007993, allocations: 59.89 kB / 0.883 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.008651, allocations: 0.4966 MB / 0.8835 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.008852, allocations: 76.2 kB / 0.8836 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.008904, allocations: 36.42 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.00892, allocations: 0 / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.008946, allocations: 41.39 kB / 0.8837 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.008948, allocations: 3.938 kB / 0.8837 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.000247/0.009195, allocations: 109.7 kB / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.009245, allocations: 128.5 kB / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.009391, allocations: 239.2 kB / 0.8841 GB, free: 40 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.009415, allocations: 33.7 kB / 0.8841 GB, free: 0 / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.009533, allocations: 203 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.009557, allocations: 35.73 kB / 0.8844 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.009611, allocations: 39.36 kB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.009731, allocations: 0.5 MB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.009774, allocations: 15.98 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.00986, allocations: 159.5 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.009936, allocations: 50.86 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.009939, allocations: 0 / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001427/0.01008, allocations: 109.5 kB / 0.8852 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.0101, allocations: 4 kB / 0.8852 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.0101, allocations: 0 / 0.8852 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01012, allocations: 4 kB / 0.8852 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.0102, allocations: 12 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.0102, allocations: 3.984 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.01025, allocations: 19.98 kB / 0.8853 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01026, allocations: 0 / 0.8853 GB, free: 14.78 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.618e-05/0.01036, allocations: 172.5 kB / 0.8854 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.01039, allocations: 23.89 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.01042, allocations: 21.45 kB / 0.8855 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01043, allocations: 4 kB / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01043, allocations: 0 / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01043, allocations: 0 / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.0106, allocations: 188.4 kB / 0.8857 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.0106, allocations: 4 kB / 0.8857 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.01065, allocations: 19.98 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01066, allocations: 0 / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01066, allocations: 0 / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01067, allocations: 0 / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01067, allocations: 7.938 kB / 0.8857 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.01085, allocations: 235.8 kB / 0.8859 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.01087, allocations: 23.83 kB / 0.8859 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.0109, allocations: 7.938 kB / 0.8859 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.01095, allocations: 4 kB / 0.8859 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.01101, allocations: 27.95 kB / 0.886 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.01102, allocations: 7.984 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.718e-05/0.0111, allocations: 171.1 kB / 0.8861 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0 / 0.8861 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001884/0.01129, allocations: 39.84 kB / 0.8862 GB, free: 13.78 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.0001042/0.01139, allocations: 99.72 kB / 0.8863 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.01156, allocations: 71.53 kB / 0.8863 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01156, allocations: 0 / 0.8863 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.01161, allocations: 43.67 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01185, allocations: 27.86 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.0126, allocations: 342.6 kB / 0.8867 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.01265, allocations: 75.77 kB / 0.8868 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.647e-05/0.01272, allocations: 17.48 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.01278, allocations: 20.5 kB / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/0.01278, allocations: 0 / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.00441/0.01719, allocations: 2.131 MB / 0.8889 GB, free: 10.97 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.151050194166601]