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.001438/0.001438, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.347/2.347, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.88 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6137, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002799/0.6165, allocations: 2.029 MB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000814/0.6173, allocations: 0.5663 MB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.6174, allocations: 3.281 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.6175, allocations: 19.73 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.6176, allocations: 39.5 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.6179, allocations: 86.69 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.6181, allocations: 221.3 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.6183, allocations: 120.2 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.6184, allocations: 88.42 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.6185, allocations: 96.94 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.6186, allocations: 28.84 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.6187, allocations: 35.8 kB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.6187, allocations: 59.75 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.6188, allocations: 106 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.6191, allocations: 271.2 kB / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6191, allocations: 0 / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6191, allocations: 0 / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.6191, allocations: 0 / 0.9532 GB, free: 6.293 MB / 0.7169 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.0006665/0.6198, allocations: 0.5174 MB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.6198, allocations: 9.531 kB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.6199, allocations: 29.97 kB / 0.9538 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.6201, allocations: 256.2 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6201, allocations: 18.89 kB / 0.9541 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.6202, allocations: 21 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.6205, allocations: 228.2 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6205, allocations: 0 / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.6206, allocations: 6.438 kB / 0.9543 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6206, allocations: 3.594 kB / 0.9543 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.6209, allocations: 143.6 kB / 0.9544 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.6216, allocations: 0.5894 MB / 0.955 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.622, allocations: 120.9 kB / 0.9551 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6221, allocations: 48.64 kB / 0.9552 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.6221, allocations: 2.812 kB / 0.9552 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.6222, allocations: 38.75 kB / 0.9552 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.6222, allocations: 3.938 kB / 0.9552 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004114/0.6226, allocations: 165.2 kB / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.6226, allocations: 138.5 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.6228, allocations: 206.6 kB / 0.9557 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.6228, allocations: 32.14 kB / 0.9557 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.646e-05/0.6229, allocations: 151.9 kB / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.6229, allocations: 32.2 kB / 0.9559 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.623, allocations: 33.7 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.6231, allocations: 327.3 kB / 0.9563 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.6232, allocations: 47.81 kB / 0.9563 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.6233, allocations: 83.2 kB / 0.9564 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.6235, allocations: 99.88 kB / 0.9565 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6235, allocations: 0 / 0.9565 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002801/0.6238, allocations: 150.4 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6238, allocations: 4.75 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6238, allocations: 1.125 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6239, allocations: 5.25 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.624, allocations: 28.64 kB / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.624, allocations: 1.188 kB / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.6241, allocations: 30.34 kB / 0.9567 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.6242, allocations: 2.781 kB / 0.9567 GB, free: 3.371 MB / 0.7169 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.055e-05/0.6243, allocations: 144.6 kB / 0.9568 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.6243, allocations: 21.59 kB / 0.9568 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.6246, allocations: 146.9 kB / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6246, allocations: 5.469 kB / 0.957 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6246, allocations: 0 / 0.957 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6247, allocations: 0 / 0.957 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.6249, allocations: 265.7 kB / 0.9572 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6249, allocations: 0 / 0.9572 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.625, allocations: 22.05 kB / 0.9573 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.625, allocations: 1.531 kB / 0.9573 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.625, allocations: 7.984 kB / 0.9573 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.625, allocations: 5.531 kB / 0.9573 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.625, allocations: 0 / 0.9573 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.6253, allocations: 228.7 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.6253, allocations: 98.2 kB / 0.9576 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.6254, allocations: 5.781 kB / 0.9576 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.6255, allocations: 28.44 kB / 0.9576 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.6256, allocations: 20.94 kB / 0.9576 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.6256, allocations: 7.562 kB / 0.9577 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.669e-05/0.6257, allocations: 160.1 kB / 0.9578 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6257, allocations: 0 / 0.9578 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002713/0.626, allocations: 37.97 kB / 0.9578 GB, free: 2.371 MB / 0.7169 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.0001489/0.6262, allocations: 111.9 kB / 0.9579 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.6265, allocations: 117.8 kB / 0.9581 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6265, allocations: 5.359 kB / 0.9581 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.6266, allocations: 50.23 kB / 0.9581 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.627, allocations: 24.17 kB / 0.9581 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.6275, allocations: 326.4 kB / 0.9584 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.6277, allocations: 0.7372 MB / 0.9592 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.644e-05/0.6278, allocations: 20.33 kB / 0.9592 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.6278, allocations: 17.56 kB / 0.9592 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6278, allocations: 0 / 0.9592 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.004684/0.6325, allocations: 2.175 MB / 0.9613 GB, free: 136 kB / 0.7169 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