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.001651/0.001651, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.001947/0.001947, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.372/2.372, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.2 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2741, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00313/0.2773, allocations: 2.044 MB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000924/0.2783, allocations: 0.5766 MB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.2784, allocations: 4 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2785, allocations: 23.67 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.2786, allocations: 31.66 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.2789, allocations: 79.86 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.2791, allocations: 235.9 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.2793, allocations: 107.6 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2794, allocations: 91.58 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.2796, allocations: 103.5 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.2796, allocations: 24 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.2797, allocations: 32 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.2798, allocations: 59.81 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2799, allocations: 99.47 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.2802, allocations: 282.9 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2802, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2802, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2802, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 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.0007392/0.2809, allocations: 0.522 MB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.281, allocations: 8.625 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.281, allocations: 24.66 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.2813, allocations: 252.7 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2814, allocations: 16.38 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.2814, allocations: 16.38 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.2818, allocations: 232.9 kB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2818, allocations: 7.875 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.2818, allocations: 4 kB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2818, allocations: 4 kB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.2821, allocations: 143.9 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.283, allocations: 0.5932 MB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.2834, allocations: 122.7 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.2835, allocations: 48.84 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.2835, allocations: 7.984 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2835, allocations: 34.56 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.2835, allocations: 0 / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.000428/0.284, allocations: 165.6 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.2841, allocations: 132.5 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.2843, allocations: 216.1 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2843, allocations: 37.7 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.2844, allocations: 144.2 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.2844, allocations: 27.56 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.2845, allocations: 37.7 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2846, allocations: 330.8 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2847, allocations: 39.98 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2849, allocations: 92.19 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2851, allocations: 90.94 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2851, allocations: 0 / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003022/0.2854, allocations: 154.8 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2855, allocations: 12.03 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2855, allocations: 0 / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2855, allocations: 0 / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2856, allocations: 19.92 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2856, allocations: 4 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2858, allocations: 27.88 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2858, allocations: 4.375 kB / 1.026 GB, free: 2.219 MB / 0.795 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.0001201/0.2859, allocations: 137.8 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.286, allocations: 15.81 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.2863, allocations: 154.8 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2863, allocations: 7.938 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2863, allocations: 0 / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2863, allocations: 3.938 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2866, allocations: 277.4 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2866, allocations: 0 / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2867, allocations: 19.98 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2867, allocations: 0 / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2867, allocations: 4 kB / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2867, allocations: 7.922 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2867, allocations: 0 / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.2871, allocations: 223.3 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.2871, allocations: 96.91 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.2872, allocations: 4 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2873, allocations: 23.92 kB / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.2874, allocations: 27.95 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2874, allocations: 4 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001124/0.2875, allocations: 147.4 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.513e-06/0.2875, allocations: 0 / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002788/0.2878, allocations: 43.78 kB / 1.027 GB, free: 0.9492 MB / 0.795 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.0001367/0.288, allocations: 115.2 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.2883, allocations: 107.9 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2883, allocations: 192 / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.2884, allocations: 63.84 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2887, allocations: 17.31 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.2893, allocations: 321.2 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2896, allocations: 0.7283 MB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.85e-05/0.2897, allocations: 21.45 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2897, allocations: 23.42 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2898, allocations: 0 / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.00495/0.2947, allocations: 2.168 MB / 1.031 GB, free: 13.36 MB / 0.8106 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 -s gbode -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