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.001481/0.001482, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001585/0.001585, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.94 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2728, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003609/0.2765, allocations: 2.049 MB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2776, allocations: 0.5686 MB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2778, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2779, allocations: 27.67 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.278, allocations: 31.66 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.2783, allocations: 79.86 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.2787, allocations: 228 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.2789, allocations: 115.6 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2791, allocations: 91.58 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2792, allocations: 103.5 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.2793, allocations: 24 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.2794, allocations: 35.98 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.2794, allocations: 51.84 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.2796, allocations: 103.4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.2799, allocations: 283 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2799, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2799, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2799, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 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.0008196/0.2807, allocations: 0.5142 MB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2808, allocations: 8.031 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.2809, allocations: 24.66 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.2812, allocations: 265.1 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2812, allocations: 16.31 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2813, allocations: 28.31 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.2817, allocations: 221.1 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2817, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.2817, allocations: 8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2818, allocations: 4 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2821, allocations: 139.9 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.283, allocations: 0.5855 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.2834, allocations: 126.7 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2836, allocations: 52.81 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.2836, allocations: 7.984 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.2837, allocations: 38.56 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.2837, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004855/0.2842, allocations: 169.6 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.2842, allocations: 132.5 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2844, allocations: 210.9 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2845, allocations: 33.7 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2846, allocations: 148.1 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2846, allocations: 31.64 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.2847, allocations: 33.7 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2848, allocations: 326.8 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2849, allocations: 47.97 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2851, allocations: 83.77 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.2853, allocations: 93.62 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2853, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003151/0.2856, allocations: 157.4 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2857, allocations: 8 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2857, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2857, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2858, allocations: 23.95 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2858, allocations: 8.359 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.286, allocations: 19.89 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.286, allocations: 4 kB / 1.034 GB, free: 10.44 MB / 0.8106 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.0001335/0.2861, allocations: 145.7 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.2862, allocations: 19.75 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.2865, allocations: 154.8 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2866, allocations: 7.938 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2866, allocations: 0 / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2866, allocations: 3.984 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2869, allocations: 269.4 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2869, allocations: 3.984 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.287, allocations: 12 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.287, allocations: 0 / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.287, allocations: 3.984 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.287, allocations: 11.94 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.287, allocations: 0 / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.2873, allocations: 231.2 kB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.2874, allocations: 88.92 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.2874, allocations: 4 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.2876, allocations: 27.91 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.2877, allocations: 27.97 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2877, allocations: 7.984 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2879, allocations: 148.4 kB / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2879, allocations: 0 / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002822/0.2882, allocations: 39.84 kB / 1.035 GB, free: 9.164 MB / 0.8106 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.0001515/0.2883, allocations: 111.2 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2887, allocations: 112.1 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2887, allocations: 3.938 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2888, allocations: 55.97 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.2891, allocations: 17.42 kB / 1.035 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.2897, allocations: 321.1 kB / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.29, allocations: 0.732 MB / 1.036 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.096e-05/0.2901, allocations: 25.45 kB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.2902, allocations: 19.44 kB / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2902, allocations: 4 kB / 1.036 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.005239/0.2954, allocations: 2.182 MB / 1.038 GB, free: 5.59 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches