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.001514/0.001514, allocations: 100.1 kB / 15.88 MB, free: 12 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.001791/0.001791, allocations: 200 kB / 16.79 MB, free: 6.828 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.724/2.724, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 72.08 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6943, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003593/0.6979, allocations: 2.094 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.6992, allocations: 0.561 MB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.6994, allocations: 7.938 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.6995, allocations: 15.86 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.6997, allocations: 27.72 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.7001, allocations: 71.94 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.7004, allocations: 208.1 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.7007, allocations: 115.6 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.7009, allocations: 71.55 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.7011, allocations: 95.45 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.7012, allocations: 12 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.7013, allocations: 20 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.7014, allocations: 35.84 kB / 1.021 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.7015, allocations: 99.39 kB / 1.021 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.7019, allocations: 205.5 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7019, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7019, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.7019, allocations: 0 / 1.021 GB, free: 15.24 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.001058/0.703, allocations: 0.5103 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.703, allocations: 12.03 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.7031, allocations: 28.59 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.7036, allocations: 256.7 kB / 1.022 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.7036, allocations: 12.38 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.7037, allocations: 16.38 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.7041, allocations: 228.9 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7041, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.7042, allocations: 8 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.7042, allocations: 8 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.7045, allocations: 139.9 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.7056, allocations: 0.5933 MB / 1.023 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.7061, allocations: 118.7 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.7062, allocations: 48.91 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.7063, allocations: 11.97 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7063, allocations: 34.56 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 3.286e-06/0.7063, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005078/0.7068, allocations: 173.5 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.7069, allocations: 136.5 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.7072, allocations: 216.1 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.7072, allocations: 29.7 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.7073, allocations: 144.2 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.7074, allocations: 27.56 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.7075, allocations: 41.69 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7076, allocations: 326.8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.7077, allocations: 51.97 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.7079, allocations: 88.2 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.7081, allocations: 85.69 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7081, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002983/0.7084, allocations: 153.4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7084, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7084, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7085, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7086, allocations: 19.92 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.7086, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.7088, allocations: 39.84 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.7088, allocations: 4 kB / 1.024 GB, free: 11.43 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.0001529/0.7089, allocations: 136.7 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.709, allocations: 15.81 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.7094, allocations: 151 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7094, allocations: 3.938 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7094, allocations: 0 / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7094, allocations: 8 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.7097, allocations: 269.4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7097, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.7098, allocations: 19.98 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7098, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.7098, allocations: 7.984 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7098, allocations: 3.938 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7098, allocations: 480 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.7102, allocations: 235.1 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.7102, allocations: 96.84 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.7103, allocations: 8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.7104, allocations: 19.92 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.7105, allocations: 23.95 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.7105, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001259/0.7107, allocations: 155.3 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7107, allocations: 7.938 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002695/0.7109, allocations: 39.84 kB / 1.025 GB, free: 10.16 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.0001639/0.7111, allocations: 107.2 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.7114, allocations: 107.4 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7114, allocations: 4 kB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.7116, allocations: 59.97 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.7119, allocations: 16 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.7126, allocations: 408.6 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.7129, allocations: 0.7363 MB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.713, allocations: 19.44 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.713, allocations: 0 / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of Templates: time 0.004071/0.7171, allocations: 2.371 MB / 1.029 GB, free: 6.289 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