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.00147/0.00147, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001564/0.001564, allocations: 166.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.684/2.684, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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.894e-06/1.894e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.845e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003427/0.003456, allocations: 2.012 MB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004713, allocations: 0.6272 MB / 0.9536 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.004813, allocations: 7.938 kB / 0.9536 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.004938, allocations: 19.73 kB / 0.9536 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.005028, allocations: 35.61 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.005372, allocations: 103.8 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.005652, allocations: 236 kB / 0.9539 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.005846, allocations: 84.02 kB / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.006103, allocations: 139.6 kB / 0.9542 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.00623, allocations: 71.77 kB / 0.9542 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.006273, allocations: 24 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.006358, allocations: 35.98 kB / 0.9543 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.006439, allocations: 63.77 kB / 0.9543 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.006522, allocations: 63.83 kB / 0.9544 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.006894, allocations: 299 kB / 0.9547 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006898, allocations: 0 / 0.9547 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.006899, allocations: 0 / 0.9547 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.006905, allocations: 0 / 0.9547 GB, free: 7.734 MB / 0.8575 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.0008126/0.007718, allocations: 459.1 kB / 0.9551 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.007751, allocations: 8.031 kB / 0.9551 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.008079, allocations: 52.72 kB / 0.9552 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.008487, allocations: 209 kB / 0.9554 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.008515, allocations: 16.38 kB / 0.9554 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.008547, allocations: 16.38 kB / 0.9554 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.009041, allocations: 298.5 kB / 0.9557 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.009052, allocations: 192 / 0.9557 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.009075, allocations: 4.375 kB / 0.9557 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.009084, allocations: 7.938 kB / 0.9557 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.00943, allocations: 151.6 kB / 0.9559 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.01031, allocations: 471.8 kB / 0.9563 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.01069, allocations: 114.6 kB / 0.9564 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.01082, allocations: 52.84 kB / 0.9565 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.01084, allocations: 0 / 0.9565 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.01088, allocations: 38.56 kB / 0.9565 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.01088, allocations: 0 / 0.9565 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004904/0.01137, allocations: 161.7 kB / 0.9567 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.01146, allocations: 136.5 kB / 0.9568 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.01167, allocations: 192.1 kB / 0.957 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.0117, allocations: 33.7 kB / 0.957 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01183, allocations: 156.3 kB / 0.9572 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.01186, allocations: 31.73 kB / 0.9572 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.01194, allocations: 37.64 kB / 0.9572 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.0121, allocations: 334.8 kB / 0.9575 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.01223, allocations: 43.98 kB / 0.9576 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.01244, allocations: 169.3 kB / 0.9577 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01266, allocations: 81.69 kB / 0.9578 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01266, allocations: 4 kB / 0.9578 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003312/0.01299, allocations: 148.8 kB / 0.958 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.01301, allocations: 7.984 kB / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01302, allocations: 0 / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01303, allocations: 4 kB / 0.958 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01315, allocations: 19.98 kB / 0.958 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.01315, allocations: 0 / 0.958 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.0133, allocations: 27.97 kB / 0.958 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01332, allocations: 0 / 0.958 GB, free: 4.066 MB / 0.8575 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.0001509/0.01347, allocations: 145.7 kB / 0.9582 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.01351, allocations: 19.91 kB / 0.9582 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.01357, allocations: 17.47 kB / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01357, allocations: 0 / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01357, allocations: 0 / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01358, allocations: 3.984 kB / 0.9582 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.01383, allocations: 181.1 kB / 0.9584 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.01384, allocations: 11.98 kB / 0.9584 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01395, allocations: 16 kB / 0.9584 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01395, allocations: 384 / 0.9584 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.01397, allocations: 7.984 kB / 0.9584 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01397, allocations: 0 / 0.9584 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01397, allocations: 0 / 0.9584 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.01432, allocations: 231.2 kB / 0.9586 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01434, allocations: 11.91 kB / 0.9586 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.01438, allocations: 8 kB / 0.9586 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.01455, allocations: 19.98 kB / 0.9587 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.01465, allocations: 35.88 kB / 0.9587 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01466, allocations: 0 / 0.9587 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000134/0.01479, allocations: 136.5 kB / 0.9588 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01479, allocations: 0 / 0.9588 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002862/0.01508, allocations: 43.84 kB / 0.9589 GB, free: 3.141 MB / 0.8575 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.000146/0.01522, allocations: 107.2 kB / 0.959 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.01557, allocations: 111.9 kB / 0.9591 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01557, allocations: 0 / 0.9591 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.01572, allocations: 51.91 kB / 0.9591 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.01604, allocations: 19.94 kB / 0.9591 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.01674, allocations: 330.3 kB / 0.9595 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.01688, allocations: 129.1 kB / 0.9596 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.256e-05/0.01696, allocations: 21.8 kB / 0.9596 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.01704, allocations: 16.5 kB / 0.9596 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.01704, allocations: 4 kB / 0.9596 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of Templates: time 0.00616/0.0232, allocations: 2.112 MB / 0.9617 GB, free: 244 kB / 0.8575 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: 7.804582208395004]