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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007053/0.007053, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001625/0.001625, allocations: 196.6 kB / 16.67 MB, free: 5.969 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 / 240.4 MB, free: 4.324 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.383/2.383, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 151.6 MB / 1.166 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003196/0.2894, allocations: 2.038 MB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.2904, allocations: 0.5688 MB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.2905, allocations: 0 / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2906, allocations: 23.73 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.2907, allocations: 43.59 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.291, allocations: 71.92 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.2912, allocations: 231.9 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.2915, allocations: 111.6 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2916, allocations: 91.64 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2917, allocations: 103.5 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2918, allocations: 24 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.2919, allocations: 28 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.2919, allocations: 63.75 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.292, allocations: 107.3 kB / 1.17 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.2924, allocations: 279.1 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2924, allocations: 0 / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2924, allocations: 0 / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2924, allocations: 0 / 1.17 GB, free: 3.668 MB / 0.92 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.0007779/0.2932, allocations: 0.5334 MB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2932, allocations: 8.031 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.2933, allocations: 46.73 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.2933, allocations: 28.8 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.2937, allocations: 252.8 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2937, allocations: 16.16 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.2937, allocations: 20.38 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.2941, allocations: 228.8 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2941, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2942, allocations: 8 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2942, allocations: 7.984 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.2945, allocations: 147.7 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.2954, allocations: 0.5858 MB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.2957, allocations: 122.7 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2958, allocations: 48.83 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.2959, allocations: 8 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2959, allocations: 34.69 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.2959, allocations: 0 / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004366/0.2964, allocations: 173.4 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.2964, allocations: 136.5 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2966, allocations: 215 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2967, allocations: 25.7 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.2968, allocations: 148.3 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2968, allocations: 31.73 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.2968, allocations: 34.08 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.297, allocations: 330.8 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2971, allocations: 47.97 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.2972, allocations: 84.27 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2974, allocations: 105.4 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2974, allocations: 4 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002968/0.2977, allocations: 153.5 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2978, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2978, allocations: 4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2978, allocations: 7.875 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2979, allocations: 19.92 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2979, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2981, allocations: 35.89 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2981, allocations: 8 kB / 1.173 GB, free: 15.77 MB / 0.9356 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.0001113/0.2982, allocations: 129.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2983, allocations: 15.91 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.2986, allocations: 147 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2986, allocations: 7.938 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2986, allocations: 0 / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2986, allocations: 4 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.2989, allocations: 265.5 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2989, allocations: 0 / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.299, allocations: 19.92 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.299, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.299, allocations: 7.984 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.299, allocations: 3.938 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.299, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2993, allocations: 231.3 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.2994, allocations: 93 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.2994, allocations: 8 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2996, allocations: 23.92 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.2997, allocations: 23.95 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2997, allocations: 8.188 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2998, allocations: 152.7 kB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2998, allocations: 3.938 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00026/0.3001, allocations: 39.89 kB / 1.175 GB, free: 14.52 MB / 0.9356 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.0006/0.3007, allocations: 0.7748 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.301, allocations: 107.9 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.301, allocations: 0 / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3011, allocations: 55.91 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3015, allocations: 27.88 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3036, allocations: 1.992 MB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3039, allocations: 0.7358 MB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.06e-05/0.304, allocations: 21.45 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3041, allocations: 67.69 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3041, allocations: 0 / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3237, allocations: 3.999 MB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.067, allocations: 14.08 kB / 1.182 GB, free: 6.758 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv","/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