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.001292/0.001292, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001423/0.001423, allocations: 197.6 kB / 16.26 MB, free: 6.629 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.543/2.543, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.6179, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003161/0.6211, allocations: 2.106 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.6222, allocations: 0.5533 MB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.055e-05/0.6223, allocations: 4 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.6224, allocations: 11.86 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.6225, allocations: 35.72 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.6228, allocations: 63.95 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.623, allocations: 228 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.6233, allocations: 107.6 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.6234, allocations: 87.64 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.6235, allocations: 103.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.6236, allocations: 28 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.6237, allocations: 32 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.6237, allocations: 55.81 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.6238, allocations: 103.5 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.6241, allocations: 273.1 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6241, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6242, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.6242, allocations: 0 / 1.02 GB, free: 14.91 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.0007924/0.625, allocations: 0.518 MB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.625, allocations: 8.031 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.6251, allocations: 28.64 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.6254, allocations: 256.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6254, allocations: 12.38 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.6255, allocations: 20.38 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.6259, allocations: 232.9 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6259, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.626, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.626, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.6263, allocations: 143.9 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.6273, allocations: 0.5933 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.6277, allocations: 122.7 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.6279, allocations: 44.78 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.628, allocations: 15.92 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.628, allocations: 34.56 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.628, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004725/0.6285, allocations: 165.6 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.6286, allocations: 136.5 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.6288, allocations: 212.1 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.6288, allocations: 33.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6289, allocations: 148.2 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.629, allocations: 31.55 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.6291, allocations: 33.7 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6292, allocations: 330.8 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.6293, allocations: 47.97 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.6295, allocations: 91.45 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.6297, allocations: 85.69 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6297, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002965/0.63, allocations: 153.4 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.63, allocations: 8.031 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.63, allocations: 8 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6301, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.6302, allocations: 23.92 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6302, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.6303, allocations: 31.81 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.6304, allocations: 4 kB / 1.024 GB, free: 11.1 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.0001361/0.6305, allocations: 143.9 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.6306, allocations: 15.81 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.6309, allocations: 147.3 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6309, allocations: 3.938 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6309, allocations: 4 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6309, allocations: 4.031 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.6312, allocations: 269.5 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6312, allocations: 7.938 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.6313, allocations: 15.98 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6314, allocations: 0 / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.6314, allocations: 7.984 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6314, allocations: 3.938 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6314, allocations: 3.938 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.6317, allocations: 223.3 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.6318, allocations: 100.8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.6318, allocations: 8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.632, allocations: 19.92 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.6321, allocations: 27.95 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.6321, allocations: 4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001654/0.6322, allocations: 151.4 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6322, allocations: 0 / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002753/0.6325, allocations: 39.84 kB / 1.025 GB, free: 9.828 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.0001806/0.6327, allocations: 119.2 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.633, allocations: 107.9 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.633, allocations: 0 / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6332, allocations: 59.91 kB / 1.025 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.6335, allocations: 19.09 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.6342, allocations: 389.2 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.6345, allocations: 0.728 MB / 1.026 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.145e-05/0.6346, allocations: 21.41 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.6347, allocations: 23.44 kB / 1.026 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6347, allocations: 0 / 1.026 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of Templates: time 0.004974/0.6396, allocations: 1.986 MB / 1.028 GB, free: 6.352 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/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