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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001289/0.001289, allocations: 92.16 kB / 16.02 MB, free: 76 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.002034/0.002034, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003859, allocations: 8 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7302, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002393/0.7326, allocations: 1.744 MB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.7337, allocations: 0.5416 MB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.7338, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.7339, allocations: 15.8 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.734, allocations: 27.78 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.7343, allocations: 71.94 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.7345, allocations: 204 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.7347, allocations: 107.6 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.7349, allocations: 67.59 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.735, allocations: 75.55 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.735, allocations: 8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.7351, allocations: 8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.7352, allocations: 31.84 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.7353, allocations: 109.1 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.7355, allocations: 205.4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7355, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7355, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7355, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 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.0007274/0.7362, allocations: 498.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7363, allocations: 8.031 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.7363, allocations: 24.66 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.7367, allocations: 264.6 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.7367, allocations: 12.38 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.7367, allocations: 20.38 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.7372, allocations: 236.8 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7372, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.7372, allocations: 7.984 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.7372, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.7375, allocations: 147.9 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.7385, allocations: 0.605 MB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.7388, allocations: 130.7 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.739, allocations: 44.84 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.739, allocations: 4 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.739, allocations: 34.56 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.739, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004583/0.7395, allocations: 185.6 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.7396, allocations: 140.8 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.7398, allocations: 208.2 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.7398, allocations: 29.7 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.7399, allocations: 152.2 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.74, allocations: 35.48 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.74, allocations: 25.7 kB / 1.03 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7401, allocations: 326.8 kB / 1.03 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.7402, allocations: 51.97 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.7404, allocations: 88.27 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.7406, allocations: 101.6 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7406, allocations: 0 / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/0.7409, allocations: 161.5 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.741, allocations: 4 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.741, allocations: 7.984 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.741, allocations: 0 / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.7411, allocations: 31.86 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7411, allocations: 4.031 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.7413, allocations: 31.83 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.7413, allocations: 4 kB / 1.03 GB, free: 8.762 MB / 0.7794 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.0001311/0.7414, allocations: 138.4 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.7415, allocations: 19.81 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.7418, allocations: 151 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7418, allocations: 7.938 kB / 1.031 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7418, allocations: 0 / 1.031 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7419, allocations: 3.984 kB / 1.031 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.7421, allocations: 273.5 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7421, allocations: 4 kB / 1.031 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.7422, allocations: 15.94 kB / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7422, allocations: 3.984 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7423, allocations: 0 / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7423, allocations: 7.938 kB / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7423, allocations: 0 / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.7426, allocations: 239.3 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.7426, allocations: 92.95 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.7427, allocations: 11.94 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.7428, allocations: 27.91 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.7429, allocations: 35.98 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.743, allocations: 4 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001239/0.7431, allocations: 151.4 kB / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7431, allocations: 0 / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002653/0.7434, allocations: 35.84 kB / 1.031 GB, free: 7.469 MB / 0.7794 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.0001758/0.7435, allocations: 111.2 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.7439, allocations: 127.9 kB / 1.032 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7439, allocations: 0 / 1.032 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.744, allocations: 51.92 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.7444, allocations: 23.98 kB / 1.032 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.745, allocations: 426.2 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.7454, allocations: 0.7324 MB / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.7454, allocations: 27.36 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7454, allocations: 0 / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.004247/0.7497, allocations: 2.349 MB / 1.035 GB, free: 3.578 MB / 0.7794 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/jenkins1/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