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.002591/0.002591, allocations: 85.48 kB / 19.44 MB, free: 344 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.003055/0.003055, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.772/1.772, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.456/3.456, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] 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 3.467e-06/3.467e-06, allocations: 0 / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.328e-05/4.675e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004222/0.004269, allocations: 2.058 MB / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.005694, allocations: 0.6296 MB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.005814, allocations: 6.062 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.005969, allocations: 23.67 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.006078, allocations: 40.31 kB / 0.8802 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.006542, allocations: 99.7 kB / 0.8803 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.006903, allocations: 237.7 kB / 0.8805 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.007172, allocations: 76.03 kB / 0.8806 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.007488, allocations: 135.7 kB / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.007643, allocations: 79.69 kB / 0.8808 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.007695, allocations: 25.19 kB / 0.8808 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.007797, allocations: 39.94 kB / 0.8808 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.007883, allocations: 47.83 kB / 0.8809 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.007988, allocations: 75.77 kB / 0.8809 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.008458, allocations: 295 kB / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008462, allocations: 0 / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.008463, allocations: 0 / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.00847, allocations: 0 / 0.8812 GB, free: 2.832 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.001057/0.009527, allocations: 0.5538 MB / 0.8818 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.009576, allocations: 12.03 kB / 0.8818 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.009988, allocations: 64.73 kB / 0.8818 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.01043, allocations: 209 kB / 0.882 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.01045, allocations: 12.38 kB / 0.882 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.01049, allocations: 24.31 kB / 0.8821 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.01105, allocations: 309.5 kB / 0.8824 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01107, allocations: 192 / 0.8824 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.0111, allocations: 16.36 kB / 0.8824 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.01111, allocations: 7.938 kB / 0.8824 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.01143, allocations: 112 kB / 0.8825 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01266, allocations: 0.5859 MB / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.01329, allocations: 123.3 kB / 0.8832 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.01341, allocations: 47.8 kB / 0.8832 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.01344, allocations: 4 kB / 0.8832 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.01348, allocations: 37.39 kB / 0.8833 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.01348, allocations: 4 kB / 0.8833 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0005314/0.01401, allocations: 157.5 kB / 0.8834 GB, free: 412 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.01412, allocations: 128.5 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.01445, allocations: 279.7 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.01448, allocations: 37.69 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.01466, allocations: 199 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.0147, allocations: 39.73 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.01479, allocations: 47.36 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003032/0.0151, allocations: 0.5157 MB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.01523, allocations: 47.98 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.01545, allocations: 179.5 kB / 0.8848 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.01567, allocations: 90.17 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01567, allocations: 0 / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000319/0.01599, allocations: 145.5 kB / 0.8851 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01601, allocations: 4 kB / 0.8851 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.01602, allocations: 7.984 kB / 0.8851 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01604, allocations: 0 / 0.8851 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01615, allocations: 16.03 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01616, allocations: 0 / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01628, allocations: 27.88 kB / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.01629, allocations: 3.938 kB / 0.8851 GB, free: 14.53 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.0002012/0.0165, allocations: 191.1 kB / 0.8853 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.01655, allocations: 23.91 kB / 0.8853 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.01661, allocations: 21.47 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01661, allocations: 0 / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01662, allocations: 4 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01662, allocations: 3.984 kB / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.01697, allocations: 220.5 kB / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01697, allocations: 0 / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01708, allocations: 15.98 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01708, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.0171, allocations: 3.984 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.0171, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0171, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.01753, allocations: 288 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.01757, allocations: 15.91 kB / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.0176, allocations: 8 kB / 0.8859 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.01773, allocations: 11.98 kB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.01784, allocations: 27.95 kB / 0.8859 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01785, allocations: 4 kB / 0.8859 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001935/0.01805, allocations: 192.1 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01805, allocations: 0 / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002761/0.01832, allocations: 47.78 kB / 0.8862 GB, free: 13.41 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.0001806/0.01851, allocations: 114.1 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.01883, allocations: 111.6 kB / 0.8864 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01884, allocations: 4 kB / 0.8864 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.01899, allocations: 63.59 kB / 0.8864 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.0193, allocations: 23.88 kB / 0.8865 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.02008, allocations: 334.7 kB / 0.8868 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.02023, allocations: 125.1 kB / 0.8869 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.482e-05/0.02032, allocations: 17.48 kB / 0.8869 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.0204, allocations: 24.5 kB / 0.8869 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.0204, allocations: 0 / 0.8869 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.00665/0.02705, allocations: 2.145 MB / 0.889 GB, free: 10.48 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.311112940893508]