Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001326/0.001326, allocations: 106.6 kB / 16.37 MB, free: 6.004 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.001531/0.001531, allocations: 194.9 kB / 17.31 MB, free: 5.621 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.03 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2965, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00342/0.3, allocations: 2.049 MB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.301, allocations: 0.5726 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.3011, allocations: 4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3012, allocations: 23.67 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.3013, allocations: 39.59 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.3016, allocations: 79.91 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.3018, allocations: 232 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.302, allocations: 111.6 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3021, allocations: 95.58 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3023, allocations: 99.52 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.3023, allocations: 24 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.3024, allocations: 32 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.3025, allocations: 55.84 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.988e-05/0.3026, allocations: 115.4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3028, allocations: 267 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3028, allocations: 3.938 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3029, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3029, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 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.0007255/0.3036, allocations: 0.5181 MB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3036, allocations: 8.031 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.3037, allocations: 28.64 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.304, allocations: 260.6 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.304, allocations: 12.38 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.3041, allocations: 20.38 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.3045, allocations: 221.1 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3045, allocations: 3.938 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3045, allocations: 11.98 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3045, allocations: 8 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.3048, allocations: 139.7 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008495/0.3057, allocations: 0.5933 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.306, allocations: 114.7 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3062, allocations: 48.84 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.3062, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3062, allocations: 38.56 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3062, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004277/0.3067, allocations: 165.6 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.3068, allocations: 136.5 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3069, allocations: 207.1 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.307, allocations: 37.7 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.3071, allocations: 148.1 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.3071, allocations: 31.64 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.3072, allocations: 33.7 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3073, allocations: 330.8 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3074, allocations: 47.92 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3076, allocations: 88.27 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3078, allocations: 81.69 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3078, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002962/0.3081, allocations: 164.4 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3081, allocations: 8.031 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3081, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3082, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3083, allocations: 24.03 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3083, allocations: 7.875 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3084, allocations: 27.88 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.3085, allocations: 7.984 kB / 1.034 GB, free: 10.41 MB / 0.8106 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.0001165/0.3086, allocations: 137.8 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3086, allocations: 19.81 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.309, allocations: 155.2 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.309, allocations: 3.984 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.309, allocations: 3.938 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.309, allocations: 92.92 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3091, allocations: 4 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3092, allocations: 23.97 kB / 1.034 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.3093, allocations: 23.97 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003654/0.3097, allocations: 208.8 kB / 1.035 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003267/0.31, allocations: 322.4 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001169/0.3102, allocations: 47.97 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3103, allocations: 148.4 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of Backend: time 6.21e-07/0.3103, allocations: 0 / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.3108, allocations: 154.9 kB / 1.035 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0007212/0.3115, allocations: 0.7527 MB / 1.036 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of Templates: time 0.005043/0.3166, allocations: 2.433 MB / 1.038 GB, free: 5.852 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches