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.00112/0.00112, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009767/0.0009767, allocations: 173 kB / 24.06 MB, free: 456 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.9705/0.9705, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.018/2.018, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.633e-06/1.633e-06, allocations: 0 / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.413e-05, allocations: 4.281 kB / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002512/0.002537, allocations: 2.071 MB / 0.8814 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.003378, allocations: 0.6337 MB / 0.8821 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.003474, allocations: 7.938 kB / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003586, allocations: 24.39 kB / 0.8821 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.003899, allocations: 41.56 kB / 0.8821 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.00418, allocations: 99.77 kB / 0.8822 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.004372, allocations: 236 kB / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.00453, allocations: 76.59 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.004718, allocations: 148.4 kB / 0.8827 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.004801, allocations: 67.78 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.004824, allocations: 21.09 kB / 0.8827 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.004887, allocations: 31.94 kB / 0.8828 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.004934, allocations: 55.77 kB / 0.8828 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.004983, allocations: 72.47 kB / 0.8829 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.005176, allocations: 176.4 kB / 0.8831 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.005179, allocations: 0 / 0.8831 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/0.00518, allocations: 0 / 0.8831 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005185, allocations: 0 / 0.8831 GB, free: 2.227 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.000468/0.005653, allocations: 0.5356 MB / 0.8836 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005686, allocations: 9.062 kB / 0.8836 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.005888, allocations: 60.73 kB / 0.8837 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.006074, allocations: 202.2 kB / 0.8839 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.006089, allocations: 16.38 kB / 0.8839 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.006108, allocations: 16.38 kB / 0.8839 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.006345, allocations: 271.2 kB / 0.8841 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.006353, allocations: 192 / 0.8841 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.006367, allocations: 11.78 kB / 0.8842 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.006373, allocations: 7.938 kB / 0.8842 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.006441, allocations: 43.95 kB / 0.8842 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.00694, allocations: 471.6 kB / 0.8847 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.007079, allocations: 75.2 kB / 0.8847 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.007113, allocations: 28.8 kB / 0.8848 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.007128, allocations: 7.938 kB / 0.8848 GB, free: 364 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.007148, allocations: 33.39 kB / 0.8848 GB, free: 320 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.007149, allocations: 1.562 kB / 0.8848 GB, free: 320 kB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001773/0.007326, allocations: 97.7 kB / 0.8849 GB, free: 216 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.007374, allocations: 128.5 kB / 0.885 GB, free: 56 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.007505, allocations: 247.7 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.007524, allocations: 30.83 kB / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.007603, allocations: 199 kB / 0.8855 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.007623, allocations: 35.72 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.007673, allocations: 48.75 kB / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.007784, allocations: 0.5 MB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.007809, allocations: 11.98 kB / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.007881, allocations: 150.6 kB / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.007937, allocations: 47.36 kB / 0.8862 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.007939, allocations: 0 / 0.8862 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001164/0.008056, allocations: 101.5 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.008069, allocations: 4 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008074, allocations: 4 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.008082, allocations: 0 / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.008154, allocations: 19.92 kB / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.008157, allocations: 0 / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.0082, allocations: 11.95 kB / 0.8864 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008208, allocations: 8.031 kB / 0.8864 GB, free: 14.56 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 8.623e-05/0.008294, allocations: 172.5 kB / 0.8865 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.008324, allocations: 15.95 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.008353, allocations: 21.45 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.008356, allocations: 4 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008358, allocations: 4 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008361, allocations: 0 / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.008499, allocations: 157 kB / 0.8867 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.008502, allocations: 3.984 kB / 0.8867 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.008541, allocations: 19.94 kB / 0.8868 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008543, allocations: 4 kB / 0.8868 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008551, allocations: 3.984 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008552, allocations: 0 / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008553, allocations: 0 / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008695, allocations: 243.6 kB / 0.887 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.00871, allocations: 11.91 kB / 0.887 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.008728, allocations: 4 kB / 0.887 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.008778, allocations: 11.98 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.008828, allocations: 23.95 kB / 0.887 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.008834, allocations: 8 kB / 0.8871 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.008894, allocations: 163.1 kB / 0.8872 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008894, allocations: 0 / 0.8872 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001678/0.009061, allocations: 39.84 kB / 0.8872 GB, free: 13.61 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 9.913e-05/0.009161, allocations: 99.72 kB / 0.8873 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.009272, allocations: 63.59 kB / 0.8874 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.009273, allocations: 0 / 0.8874 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.009314, allocations: 43.53 kB / 0.8874 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.00951, allocations: 29.48 kB / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.01008, allocations: 334.5 kB / 0.8878 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.01012, allocations: 75.83 kB / 0.8879 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.582e-05/0.01018, allocations: 17.48 kB / 0.8879 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.01028, allocations: 106.2 kB / 0.888 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.01028, allocations: 0 / 0.888 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.004054/0.01433, allocations: 2.244 MB / 0.8902 GB, free: 10.62 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.137068300973624]