Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_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.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 65.16 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2422, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003214/0.2454, allocations: 2.035 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.2463, allocations: 0.5688 MB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.2464, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2465, allocations: 19.73 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.2466, allocations: 39.59 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.2469, allocations: 87.84 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.2471, allocations: 220 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2473, allocations: 115.5 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2474, allocations: 95.58 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.2475, allocations: 99.53 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.2476, allocations: 28 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.2477, allocations: 35.98 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.2477, allocations: 55.78 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.2478, allocations: 99.47 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.2481, allocations: 267.4 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2481, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2481, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2481, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 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.0007/0.2488, allocations: 0.5259 MB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2489, allocations: 8.031 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2489, allocations: 54.73 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.249, allocations: 24.66 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.2493, allocations: 252.6 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2493, allocations: 16.38 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.2493, allocations: 16.38 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.2497, allocations: 232.6 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2497, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2497, allocations: 8 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2498, allocations: 4 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.25, allocations: 135.9 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.2509, allocations: 0.6089 MB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.2512, allocations: 118.8 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2513, allocations: 45.03 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.2514, allocations: 11.92 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2514, allocations: 34.56 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2514, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004085/0.2518, allocations: 173.6 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.2519, allocations: 132.5 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2521, allocations: 212.4 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.2521, allocations: 29.8 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2522, allocations: 152 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2523, allocations: 27.64 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.2523, allocations: 37.7 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2525, allocations: 326.8 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.2526, allocations: 47.97 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2527, allocations: 85.27 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.2529, allocations: 94.38 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2529, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.2532, allocations: 158.1 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2533, allocations: 4 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2533, allocations: 12.02 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2533, allocations: 3.938 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.2534, allocations: 15.98 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2534, allocations: 0 / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.2535, allocations: 27.98 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.2536, allocations: 4 kB / 1.071 GB, free: 6.52 MB / 0.8262 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.0001185/0.2537, allocations: 141.7 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2537, allocations: 19.81 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.254, allocations: 142.9 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2541, allocations: 3.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2541, allocations: 3.938 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2541, allocations: 7.984 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2543, allocations: 265.5 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2543, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.2544, allocations: 15.98 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2545, allocations: 7.938 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2545, allocations: 8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2545, allocations: 3.938 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.2545, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.2548, allocations: 227.3 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.2549, allocations: 92.92 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.2549, allocations: 8 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2551, allocations: 27.91 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.2551, allocations: 19.97 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2551, allocations: 7.984 kB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001253/0.2553, allocations: 155.4 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2553, allocations: 0 / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002459/0.2555, allocations: 35.84 kB / 1.072 GB, free: 5.25 MB / 0.8262 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.0006149/0.2561, allocations: 0.7713 MB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.2565, allocations: 117.1 kB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2565, allocations: 0 / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.2566, allocations: 56.03 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.2569, allocations: 25.95 kB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.259, allocations: 1.978 MB / 1.075 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.2593, allocations: 0.7397 MB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.655e-05/0.2594, allocations: 21.45 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.2595, allocations: 63.41 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2595, allocations: 0 / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/1.426, allocations: 3.943 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.52, allocations: 2 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches