Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001337/0.001337, allocations: 108.6 kB / 15.73 MB, free: 72 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.00136/0.00136, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 151.6 MB / 1.167 GB, free: 6.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003303/0.305, allocations: 2.042 MB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3061, allocations: 0.5727 MB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.3062, allocations: 0 / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3064, allocations: 23.67 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.3065, allocations: 39.66 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3068, allocations: 79.84 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.3071, allocations: 228 kB / 1.17 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3073, allocations: 115.6 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3075, allocations: 91.66 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3076, allocations: 103.5 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.3077, allocations: 24 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.3078, allocations: 32 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.3078, allocations: 59.77 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3079, allocations: 103.5 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3083, allocations: 274.8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3083, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3083, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3083, allocations: 4 kB / 1.17 GB, free: 3.125 MB / 0.92 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.0008382/0.3092, allocations: 0.5217 MB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3092, allocations: 15.97 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.3093, allocations: 24.8 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3096, allocations: 252.8 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3097, allocations: 20.16 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.3097, allocations: 20.38 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.3101, allocations: 217.1 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3101, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3101, allocations: 12 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3102, allocations: 4 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.3105, allocations: 147.6 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.3114, allocations: 0.5897 MB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.3118, allocations: 122.7 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3119, allocations: 44.84 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.3119, allocations: 7.984 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.312, allocations: 34.56 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.312, allocations: 0 / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004443/0.3124, allocations: 169.6 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3125, allocations: 140.5 kB / 1.173 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3127, allocations: 214.9 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3127, allocations: 29.7 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.3128, allocations: 140.3 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3129, allocations: 39.67 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.3129, allocations: 37.69 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3131, allocations: 334.8 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3132, allocations: 43.98 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3134, allocations: 88.19 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3136, allocations: 89.69 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3136, allocations: 0 / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003064/0.3139, allocations: 161.7 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3139, allocations: 8 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3139, allocations: 0 / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3139, allocations: 0 / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3141, allocations: 19.92 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3141, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.3142, allocations: 39.89 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3143, allocations: 4 kB / 1.174 GB, free: 15.31 MB / 0.9356 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.0001127/0.3144, allocations: 135.5 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3144, allocations: 19.94 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.3148, allocations: 147 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3148, allocations: 7.938 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3148, allocations: 4 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3148, allocations: 0 / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3151, allocations: 269.5 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3151, allocations: 4 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.3152, allocations: 11.98 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3152, allocations: 4 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3152, allocations: 0 / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3152, allocations: 8.391 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3152, allocations: 0 / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3156, allocations: 235.2 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.3156, allocations: 97 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3157, allocations: 4 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3158, allocations: 19.92 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.3159, allocations: 27.95 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3159, allocations: 3.938 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001341/0.3161, allocations: 164.7 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3161, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002774/0.3164, allocations: 39.89 kB / 1.175 GB, free: 14.04 MB / 0.9356 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.0001462/0.3165, allocations: 107.2 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.3168, allocations: 111.9 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3168, allocations: 4.062 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.317, allocations: 51.91 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3173, allocations: 23.94 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.3179, allocations: 328.6 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3182, allocations: 0.7319 MB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.873e-05/0.3182, allocations: 13.42 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.3183, allocations: 23.42 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.3183, allocations: 4 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.005042/0.3234, allocations: 2.177 MB / 1.178 GB, free: 10.43 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches