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.001209/0.001209, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001533/0.001533, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 436.5 MB / 0.7104 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 16 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6156, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002395/0.6181, allocations: 1.686 MB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.6191, allocations: 0.5302 MB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.6192, allocations: 4 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.6193, allocations: 11.86 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.991e-05/0.6195, allocations: 31.88 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.6197, allocations: 55.88 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.6199, allocations: 132.3 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.6202, allocations: 86.11 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.6203, allocations: 59.72 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.6205, allocations: 75.55 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.6205, allocations: 8 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.6206, allocations: 15.98 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.6206, allocations: 31.89 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.6207, allocations: 57.52 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.6209, allocations: 193.5 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6209, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.621, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.621, allocations: 0 / 1.024 GB, free: 14.13 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.0007735/0.6217, allocations: 498.5 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6218, allocations: 8.031 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.6219, allocations: 27.72 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.6222, allocations: 259.3 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.6223, allocations: 12 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.6223, allocations: 19.95 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.6227, allocations: 224.7 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.6227, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.6228, allocations: 8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6228, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.6231, allocations: 151.9 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.6242, allocations: 0.6012 MB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.6246, allocations: 134.7 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.6246, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.6246, allocations: 30.56 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.6246, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004834/0.6251, allocations: 181.6 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.6252, allocations: 132.5 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.6254, allocations: 214.9 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.6254, allocations: 29.7 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6256, allocations: 144.1 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.6256, allocations: 27.64 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.6256, allocations: 4 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6257, allocations: 338.8 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.6259, allocations: 55.97 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.626, allocations: 84.64 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.6262, allocations: 51.92 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6262, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.6265, allocations: 160.3 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6265, allocations: 9.5 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6266, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6266, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6267, allocations: 19.92 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6267, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.6269, allocations: 47.84 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.6269, allocations: 4 kB / 1.027 GB, free: 10.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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.6271, allocations: 135.5 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.6271, allocations: 15.81 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.6275, allocations: 159 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6275, allocations: 0 / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6275, allocations: 0 / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.6275, allocations: 11.97 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.6278, allocations: 273.4 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6278, allocations: 0 / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.628, allocations: 23.92 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.628, allocations: 0 / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.628, allocations: 4 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.628, allocations: 4 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.628, allocations: 0 / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.6284, allocations: 243.2 kB / 1.028 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.6284, allocations: 96.84 kB / 1.028 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.6285, allocations: 8 kB / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6286, allocations: 23.98 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.6287, allocations: 27.95 kB / 1.028 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.6287, allocations: 3.984 kB / 1.028 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001322/0.6289, allocations: 148.4 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6289, allocations: 0 / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000295/0.6292, allocations: 48.03 kB / 1.028 GB, free: 9.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.6294, allocations: 119.2 kB / 1.028 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.6297, allocations: 115.9 kB / 1.028 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6297, allocations: 4.062 kB / 1.028 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6298, allocations: 55.92 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.6301, allocations: 24.5 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.6308, allocations: 378.7 kB / 1.029 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.6311, allocations: 0.7438 MB / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.6312, allocations: 17.42 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.6313, allocations: 23.42 kB / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6313, allocations: 0 / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of Templates: time 0.004666/0.6359, allocations: 1.81 MB / 1.031 GB, free: 5.848 MB / 0.7794 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches