Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_9_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.001014/0.001014, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00805/0.00805, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 11.94 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.6453, allocations: 142.4 MB / 0.9552 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002226/0.6476, allocations: 1.726 MB / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.6487, allocations: 0.5384 MB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.6488, allocations: 2.344 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.649, allocations: 19.8 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.6491, allocations: 23.22 kB / 0.9574 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.6494, allocations: 73.86 kB / 0.9575 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.6497, allocations: 212.2 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.6499, allocations: 106.8 kB / 0.9578 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.6501, allocations: 68.58 kB / 0.9579 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.6502, allocations: 79.14 kB / 0.958 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.6502, allocations: 5.906 kB / 0.958 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.6503, allocations: 13.11 kB / 0.958 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.6504, allocations: 31.59 kB / 0.958 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.777e-05/0.6505, allocations: 100.9 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.6507, allocations: 254.5 kB / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6507, allocations: 0 / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6507, allocations: 0 / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.6507, allocations: 4 kB / 0.9583 GB, free: 5.059 MB / 0.7169 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.0007317/0.6515, allocations: 0.4908 MB / 0.9588 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6515, allocations: 12.84 kB / 0.9588 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.6516, allocations: 53.61 kB / 0.9589 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.6517, allocations: 28.52 kB / 0.9589 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.652, allocations: 255.1 kB / 0.9592 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.652, allocations: 12.03 kB / 0.9592 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.6521, allocations: 19.88 kB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.6525, allocations: 235.9 kB / 0.9594 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6525, allocations: 7.922 kB / 0.9594 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.6525, allocations: 6.469 kB / 0.9594 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6525, allocations: 3.812 kB / 0.9594 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.6529, allocations: 148.3 kB / 0.9596 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.6538, allocations: 0.599 MB / 0.9602 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.6542, allocations: 131.1 kB / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.6543, allocations: 48.34 kB / 0.9603 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.6544, allocations: 5.375 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.6544, allocations: 37.31 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.6544, allocations: 0 / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004912/0.6549, allocations: 184.1 kB / 0.9605 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.6549, allocations: 131.3 kB / 0.9607 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.6551, allocations: 218.3 kB / 0.9609 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.6552, allocations: 36.39 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.6553, allocations: 147.2 kB / 0.9611 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.6553, allocations: 27.77 kB / 0.9611 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.6553, allocations: 24.58 kB / 0.9611 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.6554, allocations: 327 kB / 0.9614 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.6555, allocations: 55.47 kB / 0.9615 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.6557, allocations: 86.61 kB / 0.9615 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.6559, allocations: 99.84 kB / 0.9616 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6559, allocations: 0 / 0.9616 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003338/0.6563, allocations: 165.1 kB / 0.9618 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6563, allocations: 7.125 kB / 0.9618 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6563, allocations: 1.031 kB / 0.9618 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6563, allocations: 8.938 kB / 0.9618 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6565, allocations: 26.67 kB / 0.9618 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6565, allocations: 1.125 kB / 0.9618 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.6567, allocations: 36.53 kB / 0.9619 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.6567, allocations: 4.156 kB / 0.9619 GB, free: 2.098 MB / 0.7169 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.0001092/0.6568, allocations: 142.2 kB / 0.962 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.6568, allocations: 16.81 kB / 0.962 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.6572, allocations: 154.5 kB / 0.9622 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6572, allocations: 4.688 kB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6573, allocations: 4.812 kB / 0.9622 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6573, allocations: 0.9688 kB / 0.9622 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.6575, allocations: 268.4 kB / 0.9624 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6575, allocations: 0 / 0.9624 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.6576, allocations: 21.27 kB / 0.9625 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6576, allocations: 1 kB / 0.9625 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.6577, allocations: 5.172 kB / 0.9625 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6577, allocations: 7.938 kB / 0.9625 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6577, allocations: 0.9688 kB / 0.9625 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.658, allocations: 240.1 kB / 0.9627 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.6581, allocations: 93.64 kB / 0.9628 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.6581, allocations: 10.16 kB / 0.9628 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.6583, allocations: 35.22 kB / 0.9628 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.6584, allocations: 21.38 kB / 0.9629 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.6584, allocations: 7.297 kB / 0.9629 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001171/0.6585, allocations: 153.7 kB / 0.963 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6585, allocations: 0 / 0.963 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003124/0.6588, allocations: 37.31 kB / 0.9631 GB, free: 1.102 MB / 0.7169 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.0005703/0.6594, allocations: 0.7863 MB / 0.9638 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.6598, allocations: 121 kB / 0.9639 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6598, allocations: 1.344 kB / 0.9639 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.6599, allocations: 57.62 kB / 0.964 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.6603, allocations: 24.16 kB / 0.964 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.663, allocations: 2.062 MB / 0.966 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.6633, allocations: 0.7344 MB / 0.9667 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.6634, allocations: 18.58 kB / 0.9668 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6635, allocations: 66 kB / 0.9668 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6636, allocations: 0 / 0.9668 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.6798, allocations: 3.5 MB / 0.9702 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003705/0.6802, allocations: 237.6 kB / 0.9705 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.494, allocations: 1.562 kB / 0.9705 GB, free: 11.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches