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.00486/0.00486, allocations: 96.39 kB / 15.73 MB, free: 6 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.001144/0.001144, allocations: 189 kB / 16.67 MB, free: 5.93 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.478/2.478, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2783, allocations: 151.6 MB / 1.166 GB, free: 7.43 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003671/0.282, allocations: 2.034 MB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2832, allocations: 0.5727 MB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2833, allocations: 4 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.2835, allocations: 23.72 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.2836, allocations: 31.62 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.284, allocations: 91.83 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.2842, allocations: 220 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2845, allocations: 115.6 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.2847, allocations: 91.64 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2848, allocations: 99.47 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.2848, allocations: 27.94 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.2849, allocations: 36 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.285, allocations: 63.75 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2851, allocations: 103.5 kB / 1.17 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.2855, allocations: 279.1 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2855, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2855, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.2856, allocations: 0 / 1.17 GB, free: 3.629 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.0007998/0.2864, allocations: 0.5257 MB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2864, allocations: 8.031 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.2865, allocations: 54.73 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.2865, allocations: 24.8 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.2869, allocations: 252.8 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.2869, allocations: 16.16 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.2869, allocations: 16.38 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.2873, allocations: 232.8 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2873, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2874, allocations: 8 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2874, allocations: 4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.2877, allocations: 139.7 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.2886, allocations: 0.6014 MB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.2889, allocations: 114.8 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2891, allocations: 52.84 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2891, allocations: 8.109 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2891, allocations: 38.56 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.2891, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004457/0.2896, allocations: 169.4 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.2897, allocations: 136.5 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.2899, allocations: 215.3 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.2899, allocations: 33.7 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.29, allocations: 144.3 kB / 1.173 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.29, allocations: 31.75 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.2901, allocations: 41.62 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2902, allocations: 326.8 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2903, allocations: 43.98 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2905, allocations: 88.25 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2907, allocations: 89.62 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2907, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002887/0.291, allocations: 165.2 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.291, allocations: 8 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.291, allocations: 0 / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.291, allocations: 3.938 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2911, allocations: 19.98 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2912, allocations: 4 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2913, allocations: 31.86 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2913, allocations: 4 kB / 1.173 GB, free: 15.75 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.000122/0.2915, allocations: 140.5 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2915, allocations: 15.91 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.2918, allocations: 143 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2919, allocations: 7.938 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2919, allocations: 0 / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2919, allocations: 3.938 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2921, allocations: 269.5 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2921, allocations: 4 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.2922, allocations: 19.98 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2922, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2923, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2923, allocations: 7.922 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2923, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2926, allocations: 239.2 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.2926, allocations: 93.19 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.2927, allocations: 4 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2928, allocations: 23.86 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.2929, allocations: 27.95 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2929, allocations: 4 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001065/0.293, allocations: 152.7 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.293, allocations: 0 / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002544/0.2933, allocations: 39.89 kB / 1.175 GB, free: 14.48 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.0005702/0.2939, allocations: 0.7748 MB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.2942, allocations: 112 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2942, allocations: 0 / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.2943, allocations: 51.92 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2947, allocations: 27.86 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.2968, allocations: 1.992 MB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.297, allocations: 0.7319 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.2971, allocations: 25.39 kB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2972, allocations: 63.41 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2972, allocations: 0 / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.3173, allocations: 3.993 MB / 1.182 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.983, allocations: 20.81 kB / 1.182 GB, free: 6.727 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