Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008882/0.0008882, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009035/0.0009035, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.401e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003043/0.003067, allocations: 2.007 MB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.004187, allocations: 0.6271 MB / 0.9543 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.004306, allocations: 0 / 0.9543 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.004457, allocations: 27.67 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.004551, allocations: 43.59 kB / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.004917, allocations: 95.77 kB / 0.9545 GB, free: 192 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.005179, allocations: 236.1 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.005393, allocations: 82 kB / 0.9548 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.005636, allocations: 139.7 kB / 0.9549 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.005747, allocations: 71.72 kB / 0.955 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.005785, allocations: 24 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.005864, allocations: 39.92 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.005928, allocations: 59.77 kB / 0.9551 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.006003, allocations: 75.81 kB / 0.9552 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.006332, allocations: 291 kB / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006334, allocations: 4 kB / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006335, allocations: 0 / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.006341, allocations: 0 / 0.9554 GB, free: 15.18 MB / 0.9167 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.0006801/0.007021, allocations: 453.2 kB / 0.9559 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.007058, allocations: 16.03 kB / 0.9559 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.007301, allocations: 48.72 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.00764, allocations: 205.1 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.00766, allocations: 8.375 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.007689, allocations: 20.38 kB / 0.9562 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.008075, allocations: 302.4 kB / 0.9565 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.008084, allocations: 4.188 kB / 0.9565 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.008107, allocations: 8.375 kB / 0.9565 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.008115, allocations: 11.94 kB / 0.9565 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.008389, allocations: 143.7 kB / 0.9566 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.009146, allocations: 483.7 kB / 0.9571 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.009461, allocations: 114.7 kB / 0.9572 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.009552, allocations: 40.84 kB / 0.9572 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.009573, allocations: 4 kB / 0.9572 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.009594, allocations: 30.56 kB / 0.9573 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.009596, allocations: 0 / 0.9573 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0003909/0.009987, allocations: 169.7 kB / 0.9574 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.01005, allocations: 128.5 kB / 0.9575 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01021, allocations: 200.3 kB / 0.9577 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.01023, allocations: 34.08 kB / 0.9578 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.01033, allocations: 156.3 kB / 0.9579 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.01036, allocations: 31.69 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.01042, allocations: 37.7 kB / 0.958 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01052, allocations: 338.7 kB / 0.9583 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.01062, allocations: 39.98 kB / 0.9583 GB, free: 12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.01077, allocations: 161.4 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01093, allocations: 93.19 kB / 0.9586 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01093, allocations: 0 / 0.9586 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002534/0.01119, allocations: 153.5 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.0112, allocations: 4 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01121, allocations: 0 / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01123, allocations: 0 / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.01131, allocations: 23.92 kB / 0.9588 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01131, allocations: 0 / 0.9588 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.01141, allocations: 27.97 kB / 0.9588 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01142, allocations: 4 kB / 0.9588 GB, free: 11.5 MB / 0.9167 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.0001105/0.01153, allocations: 140.1 kB / 0.9589 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.01156, allocations: 15.91 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.0116, allocations: 21.47 kB / 0.959 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.0116, allocations: 4 kB / 0.959 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01161, allocations: 3.984 kB / 0.959 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.01161, allocations: 0 / 0.959 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.01176, allocations: 189.1 kB / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01176, allocations: 4 kB / 0.9591 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.01181, allocations: 15.94 kB / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01181, allocations: 3.984 kB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01182, allocations: 3.938 kB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01182, allocations: 0 / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01182, allocations: 4 kB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.01201, allocations: 235.3 kB / 0.9594 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.01202, allocations: 11.91 kB / 0.9594 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.01204, allocations: 4 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.01211, allocations: 23.97 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.01217, allocations: 27.95 kB / 0.9595 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.01218, allocations: 0 / 0.9595 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.01225, allocations: 143 kB / 0.9596 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01225, allocations: 0 / 0.9596 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001692/0.01242, allocations: 43.94 kB / 0.9596 GB, free: 10.57 MB / 0.9167 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.304e-05/0.0125, allocations: 103.2 kB / 0.9597 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.01269, allocations: 107.9 kB / 0.9598 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01269, allocations: 0 / 0.9598 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.779e-05/0.01276, allocations: 55.91 kB / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01295, allocations: 17.83 kB / 0.9599 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.01338, allocations: 352.1 kB / 0.9602 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.01346, allocations: 125.1 kB / 0.9604 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.01351, allocations: 24.5 kB / 0.9604 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.01351, allocations: 0 / 0.9604 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of Templates: time 0.002549/0.01606, allocations: 2.337 MB / 0.9627 GB, free: 7.406 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.532821953296661]