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.001334/0.001334, allocations: 106.9 kB / 16.41 MB, free: 5.973 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.001711/0.001711, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.14 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.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001503, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8806, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003456/0.8841, allocations: 2.03 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.8852, allocations: 0.5727 MB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.8854, allocations: 2.875 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.8856, allocations: 24.81 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.8856, allocations: 42.52 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.886, allocations: 79.42 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.8863, allocations: 226.9 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.8865, allocations: 119.3 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.8867, allocations: 91.45 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.8868, allocations: 100.5 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.8869, allocations: 23.88 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.887, allocations: 33.44 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.8871, allocations: 56.88 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.8872, allocations: 110.3 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.8876, allocations: 269.5 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8876, allocations: 3.938 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8876, allocations: 0.7188 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.8876, allocations: 4 kB / 1.092 GB, free: 3.059 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.0007985/0.8884, allocations: 0.5185 MB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.8885, allocations: 9.938 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.8885, allocations: 25.94 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.8888, allocations: 257.1 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.8889, allocations: 16.09 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.8889, allocations: 19.88 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.8893, allocations: 222.9 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8894, allocations: 0.6562 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.8894, allocations: 9.906 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.8894, allocations: 4.812 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.8897, allocations: 143.1 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.8907, allocations: 0.5828 MB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.891, allocations: 121 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.8912, allocations: 56.91 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.8912, allocations: 3 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.8912, allocations: 40.67 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.8913, allocations: 0 / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004993/0.8918, allocations: 172.1 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.8918, allocations: 139.6 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.892, allocations: 206.2 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.8921, allocations: 33.94 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.8922, allocations: 146.4 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.8922, allocations: 31.44 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.8923, allocations: 35.58 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.8923, allocations: 332.1 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.8925, allocations: 45.78 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.8926, allocations: 83.73 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.8928, allocations: 92.48 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8928, allocations: 3.938 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002981/0.8931, allocations: 154.6 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8932, allocations: 5.547 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8932, allocations: 0.7188 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8932, allocations: 0.8438 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.8933, allocations: 25.3 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.8933, allocations: 0.9688 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.8935, allocations: 36.02 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.8935, allocations: 4.641 kB / 1.096 GB, free: 472 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 0.0001145/0.8936, allocations: 131.5 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.8937, allocations: 16.62 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.8941, allocations: 145.8 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8941, allocations: 9.375 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8941, allocations: 0.875 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8941, allocations: 0.7031 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.8944, allocations: 268.6 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8944, allocations: 8.688 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.8945, allocations: 22.7 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.8945, allocations: 0.625 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.8945, allocations: 2.844 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.8945, allocations: 4.625 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8946, allocations: 0.5938 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.8949, allocations: 231.9 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.895, allocations: 94.67 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.8951, allocations: 6.594 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.8952, allocations: 22.28 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.8953, allocations: 24.25 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.8954, allocations: 7.406 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001712/0.8955, allocations: 155.4 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8956, allocations: 0 / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003066/0.8959, allocations: 40.44 kB / 1.097 GB, free: 15.59 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.0001999/0.8961, allocations: 105.5 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.8964, allocations: 114.9 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8964, allocations: 4.719 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.8966, allocations: 52.89 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.897, allocations: 21.28 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.8977, allocations: 360 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.8981, allocations: 0.7306 MB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.8982, allocations: 25.16 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of SimCode: time 6.82e-07/0.8982, allocations: 0.9062 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.00582/0.904, allocations: 2.383 MB / 1.101 GB, free: 14.23 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/jenkins1/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