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.001585/0.001585, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001708/0.001708, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003265/0.2888, allocations: 2.049 MB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.2899, allocations: 0.5688 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.29, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2901, allocations: 27.67 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.2902, allocations: 39.59 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.2905, allocations: 83.86 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2907, allocations: 224 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.291, allocations: 115.6 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2911, allocations: 91.62 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2912, allocations: 95.55 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.2913, allocations: 24 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.2914, allocations: 35.98 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.2914, allocations: 59.77 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2916, allocations: 103.4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2919, allocations: 279 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2919, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2919, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.2919, allocations: 8 kB / 1.03 GB, free: 14.26 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.0007842/0.2927, allocations: 0.5103 MB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2927, allocations: 12.03 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.2928, allocations: 24.66 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.2931, allocations: 257.2 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2931, allocations: 16.38 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.2932, allocations: 16.38 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.2936, allocations: 225 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2936, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.2936, allocations: 8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2936, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.2939, allocations: 143.9 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.2948, allocations: 0.5816 MB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.2952, allocations: 134.7 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2953, allocations: 44.83 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.2953, allocations: 4 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2954, allocations: 38.69 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.2954, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004247/0.2958, allocations: 173.4 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.2959, allocations: 136.5 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.2961, allocations: 210.9 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2961, allocations: 29.7 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.2962, allocations: 152.1 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.2963, allocations: 27.64 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.2963, allocations: 33.7 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.2964, allocations: 330.8 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2965, allocations: 47.97 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2967, allocations: 84.27 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.2969, allocations: 97.56 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2969, allocations: 0 / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002815/0.2972, allocations: 149.5 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2972, allocations: 4 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2972, allocations: 4 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2973, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2974, allocations: 27.86 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2974, allocations: 3.984 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2975, allocations: 27.92 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.2975, allocations: 4 kB / 1.034 GB, free: 10.46 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.0001258/0.2977, allocations: 141.8 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.2977, allocations: 15.81 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.2981, allocations: 147.3 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2981, allocations: 7.938 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2981, allocations: 4 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2981, allocations: 4.125 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.2984, allocations: 273.4 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2984, allocations: 7.984 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.2985, allocations: 11.94 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2985, allocations: 0 / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2985, allocations: 7.984 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2985, allocations: 3.938 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2985, allocations: 0 / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2989, allocations: 231.2 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.2989, allocations: 92.92 kB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.299, allocations: 4 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.2991, allocations: 27.91 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.2992, allocations: 23.97 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2992, allocations: 8 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000122/0.2994, allocations: 156.4 kB / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2994, allocations: 0 / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002758/0.2996, allocations: 39.84 kB / 1.035 GB, free: 9.188 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.000147/0.2998, allocations: 111.2 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.3001, allocations: 107.4 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3001, allocations: 8.062 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3002, allocations: 55.91 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3006, allocations: 16.89 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.3012, allocations: 329 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3015, allocations: 0.7319 MB / 1.036 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.45e-05/0.3015, allocations: 17.42 kB / 1.036 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.3016, allocations: 23.44 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3016, allocations: 0 / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of Templates: time 0.005053/0.3067, allocations: 2.18 MB / 1.038 GB, free: 5.617 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 cvode -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