Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007057/0.007058, allocations: 102.3 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001653, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.89 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.8138, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003069/0.8169, allocations: 2.027 MB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.8179, allocations: 0.58 MB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.961e-05/0.818, allocations: 2.125 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.8181, allocations: 21.12 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.8182, allocations: 39.23 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.8185, allocations: 87.31 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.8188, allocations: 223.8 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.819, allocations: 114.5 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.8191, allocations: 96.42 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.8193, allocations: 99.08 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.8193, allocations: 24.03 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.8194, allocations: 33.55 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.8195, allocations: 56.84 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.8196, allocations: 109.9 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.8199, allocations: 269.6 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.82, allocations: 0.7812 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.82, allocations: 3.938 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.82, allocations: 0.8438 kB / 1.092 GB, free: 3.047 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.0006613/0.8206, allocations: 0.5206 MB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.8207, allocations: 8.969 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.8207, allocations: 26 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.821, allocations: 256.7 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.821, allocations: 12.66 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.8211, allocations: 20.47 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.8214, allocations: 234.4 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8215, allocations: 0 / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.8215, allocations: 7.141 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.8215, allocations: 3.875 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.8218, allocations: 143.8 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.8227, allocations: 0.5789 MB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.8231, allocations: 120.1 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.8232, allocations: 53.91 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.8233, allocations: 6.266 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.8233, allocations: 41.08 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.8233, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004692/0.8238, allocations: 172.2 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.8239, allocations: 138.8 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.8241, allocations: 207.1 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.8241, allocations: 32.8 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.8242, allocations: 147.3 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.8242, allocations: 30.8 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.8243, allocations: 35.31 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.8243, allocations: 328.5 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.8245, allocations: 50.83 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.8246, allocations: 83 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.8248, allocations: 91.42 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8248, allocations: 0.7812 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000298/0.8251, allocations: 158.9 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8251, allocations: 6 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.8252, allocations: 0.5156 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8252, allocations: 1.75 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.8253, allocations: 28.19 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.8253, allocations: 2.25 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.8254, allocations: 27.67 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.8255, allocations: 7.891 kB / 1.095 GB, free: 456 kB / 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 9.561e-05/0.8256, allocations: 131.4 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.8256, allocations: 21.61 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.826, allocations: 145.5 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.826, allocations: 5.219 kB / 1.095 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.826, allocations: 0.6875 kB / 1.095 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.826, allocations: 4.609 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.8263, allocations: 276.9 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.8263, allocations: 4 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8264, allocations: 18.86 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8264, allocations: 0.75 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.8264, allocations: 2.75 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.8264, allocations: 4.562 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8264, allocations: 1.391 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.8268, allocations: 232 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.8269, allocations: 94.39 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.8269, allocations: 6.938 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.8271, allocations: 21.64 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.8272, allocations: 23.17 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.8272, allocations: 9.016 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001426/0.8273, allocations: 150.4 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8273, allocations: 5.031 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002871/0.8276, allocations: 40.69 kB / 1.096 GB, free: 15.57 MB / 0.8731 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.0001465/0.8278, allocations: 107.7 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.8281, allocations: 110.2 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8281, allocations: 4.438 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.8283, allocations: 61.86 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.8286, allocations: 20.64 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.8292, allocations: 324.8 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.8296, allocations: 0.732 MB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.304e-05/0.8297, allocations: 19.88 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.8297, allocations: 20.64 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8297, allocations: 0 / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.00561/0.8354, allocations: 2.176 MB / 1.1 GB, free: 14.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches