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.001305/0.001305, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001262/0.001262, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9055, 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.003208/0.9088, allocations: 2.038 MB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.9098, allocations: 0.5697 MB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.9099, allocations: 6.344 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.91, allocations: 21.66 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.9101, allocations: 38.2 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.9105, allocations: 87.5 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.9107, allocations: 224.3 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.911, allocations: 115 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.9111, allocations: 91.05 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.9113, allocations: 99.52 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.9113, allocations: 24.66 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.9114, allocations: 33.75 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.9115, allocations: 56.17 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.9116, allocations: 110.1 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.912, allocations: 269.4 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.912, allocations: 8.688 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.912, allocations: 3.938 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.912, allocations: 0.9062 kB / 1.092 GB, free: 3.055 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.0007241/0.9127, allocations: 0.5129 MB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9128, allocations: 9.156 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.9128, allocations: 25.78 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.9131, allocations: 261.7 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.9132, allocations: 11.88 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.9132, allocations: 20.86 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.9136, allocations: 226.3 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9136, allocations: 0 / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.9137, allocations: 10.53 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.9137, allocations: 11.78 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.914, allocations: 144.2 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/0.9149, allocations: 0.5781 MB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.9153, allocations: 121.3 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.9154, allocations: 49.94 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.9155, allocations: 2.188 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.9155, allocations: 40.62 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.9155, allocations: 4 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004544/0.916, allocations: 172.1 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.916, allocations: 135.3 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.9162, allocations: 206.3 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.9163, allocations: 33.52 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.9163, allocations: 143.3 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.9164, allocations: 35.27 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.9164, allocations: 38.88 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.9165, allocations: 328.8 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.9166, allocations: 45.86 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.9168, allocations: 83.06 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.917, allocations: 92.28 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.917, allocations: 1.578 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003157/0.9173, allocations: 159.1 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.9174, allocations: 5 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9174, allocations: 4.688 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.9174, allocations: 1.672 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.9175, allocations: 28.91 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9175, allocations: 1.438 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.9177, allocations: 27.47 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.9177, allocations: 4.25 kB / 1.096 GB, free: 468 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.000107/0.9178, allocations: 136 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.9179, allocations: 16.25 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.9182, allocations: 149.9 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.9182, allocations: 5.578 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9183, allocations: 0.7812 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9183, allocations: 0.7969 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.9186, allocations: 276.9 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9186, allocations: 0 / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.9187, allocations: 14.94 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9187, allocations: 0.6562 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.9187, allocations: 2.969 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.9187, allocations: 4.438 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9188, allocations: 4.656 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.9191, allocations: 228.3 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.9192, allocations: 94.61 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.9193, allocations: 7.281 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.9194, allocations: 21.56 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.9195, allocations: 27.25 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.9196, allocations: 8.109 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001622/0.9197, allocations: 151.1 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9197, allocations: 0 / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002937/0.92, allocations: 41.42 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.0001769/0.9202, allocations: 109.2 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.9206, allocations: 114.6 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9206, allocations: 3.938 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.9207, allocations: 61.73 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.9211, allocations: 22.84 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.0007328/0.9219, allocations: 360.9 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.9222, allocations: 0.7315 MB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.9223, allocations: 24.94 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.9223, allocations: 0.5 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.006021/0.9283, allocations: 2.376 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