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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_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.00727/0.00727, allocations: 100.4 kB / 15.73 MB, free: 6.004 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.001353/0.001353, allocations: 191.8 kB / 16.67 MB, free: 5.922 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.204/1.204, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.464/2.464, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 67.17 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 162.3 MB / 1.242 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002903/0.2704, allocations: 2.036 MB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.2713, allocations: 0.5611 MB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.2714, allocations: 4 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.2715, allocations: 23.67 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.2716, allocations: 35.59 kB / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.2718, allocations: 87.89 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2721, allocations: 232 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.2723, allocations: 111.6 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2724, allocations: 87.64 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2725, allocations: 103.5 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.2726, allocations: 24 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.2726, allocations: 32 kB / 1.245 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.2727, allocations: 55.78 kB / 1.245 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.2728, allocations: 111.4 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.2731, allocations: 287 kB / 1.246 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2731, allocations: 0 / 1.246 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2731, allocations: 0 / 1.246 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2731, allocations: 0 / 1.246 GB, free: 5.062 MB / 0.9669 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.0007231/0.2739, allocations: 0.5218 MB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2739, allocations: 12.02 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.274, allocations: 54.73 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.274, allocations: 24.8 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.2743, allocations: 248.8 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2744, allocations: 12.38 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.2744, allocations: 20.38 kB / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.2748, allocations: 232.8 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2748, allocations: 0 / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2748, allocations: 4 kB / 1.247 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2748, allocations: 4 kB / 1.247 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.2751, allocations: 143.7 kB / 1.247 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.276, allocations: 0.5973 MB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.2763, allocations: 126.7 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2764, allocations: 48.84 kB / 1.248 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.2765, allocations: 0 / 1.248 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2765, allocations: 38.56 kB / 1.248 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.2765, allocations: 0 / 1.248 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004281/0.2769, allocations: 173.6 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.277, allocations: 128.5 kB / 1.248 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.2772, allocations: 215.1 kB / 1.248 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.2772, allocations: 33.7 kB / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.2773, allocations: 144.3 kB / 1.248 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.2774, allocations: 31.73 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.2774, allocations: 37.7 kB / 1.248 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2776, allocations: 331.2 kB / 1.249 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2777, allocations: 43.98 kB / 1.249 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2778, allocations: 87.64 kB / 1.249 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.278, allocations: 89.67 kB / 1.249 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2781, allocations: 3.938 kB / 1.249 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002975/0.2784, allocations: 165.4 kB / 1.249 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2784, allocations: 9.406 kB / 1.249 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2784, allocations: 0 / 1.249 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2784, allocations: 3.984 kB / 1.249 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2785, allocations: 27.91 kB / 1.249 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2785, allocations: 4 kB / 1.249 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.2787, allocations: 19.92 kB / 1.249 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.2787, allocations: 7.984 kB / 1.249 GB, free: 1.188 MB / 0.9669 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.0001202/0.2788, allocations: 138.4 kB / 1.249 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.2789, allocations: 19.86 kB / 1.249 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.2792, allocations: 147 kB / 1.249 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.2792, allocations: 7.938 kB / 1.249 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2792, allocations: 0 / 1.249 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2792, allocations: 0 / 1.249 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2795, allocations: 265.5 kB / 1.25 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2795, allocations: 0 / 1.25 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.2796, allocations: 23.92 kB / 1.25 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2796, allocations: 0 / 1.25 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2796, allocations: 0 / 1.25 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2796, allocations: 3.938 kB / 1.25 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2796, allocations: 0 / 1.25 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.2799, allocations: 231.3 kB / 1.25 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.28, allocations: 96.97 kB / 1.25 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.28, allocations: 4 kB / 1.25 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2802, allocations: 27.91 kB / 1.25 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.2802, allocations: 27.91 kB / 1.25 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2803, allocations: 7.984 kB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001344/0.2804, allocations: 152.6 kB / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2804, allocations: 0 / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002513/0.2807, allocations: 43.83 kB / 1.25 GB, free: 15.92 MB / 0.9825 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.0006118/0.2813, allocations: 0.7748 MB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.2816, allocations: 111.9 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2816, allocations: 4.062 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2817, allocations: 55.92 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.282, allocations: 26.14 kB / 1.251 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.2842, allocations: 1.988 MB / 1.253 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2845, allocations: 0.7358 MB / 1.254 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.382e-05/0.2846, allocations: 17.42 kB / 1.254 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2847, allocations: 67.41 kB / 1.254 GB, free: 12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2847, allocations: 288 / 1.254 GB, free: 12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/0.6453, allocations: 4.007 MB / 1.258 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.993, allocations: 6.219 kB / 1.258 GB, free: 8.188 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > 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