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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001192/0.001192, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8553, allocations: 140.4 MB / 0.9492 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00351/0.8589, allocations: 2.094 MB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.8599, allocations: 0.5443 MB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.86, allocations: 1.438 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.8602, allocations: 20.97 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.8603, allocations: 23.61 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.8606, allocations: 73.81 kB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.8609, allocations: 221.9 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.8612, allocations: 123.6 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.8613, allocations: 89.05 kB / 0.9523 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.8614, allocations: 97.59 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.8615, allocations: 27.88 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.8616, allocations: 36.42 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.8617, allocations: 50.88 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.8618, allocations: 109.9 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.8621, allocations: 272.4 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8621, allocations: 0 / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8621, allocations: 0 / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8621, allocations: 0 / 0.9529 GB, free: 6.188 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.00074/0.8628, allocations: 0.5175 MB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.8629, allocations: 12.94 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.8629, allocations: 53.14 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.863, allocations: 29.38 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.8633, allocations: 251.8 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.8634, allocations: 12.75 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.8634, allocations: 15.44 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.8638, allocations: 236.2 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8638, allocations: 0 / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.8638, allocations: 10.5 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.8639, allocations: 3.719 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.8642, allocations: 136.4 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.8651, allocations: 0.5889 MB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.8655, allocations: 120 kB / 0.9548 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.8656, allocations: 55.89 kB / 0.9549 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.8656, allocations: 5.984 kB / 0.9549 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.8657, allocations: 40.53 kB / 0.9549 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.8657, allocations: 0 / 0.9549 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004607/0.8661, allocations: 170 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.8662, allocations: 134.6 kB / 0.9552 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.8664, allocations: 214 kB / 0.9554 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.8664, allocations: 32.27 kB / 0.9555 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.8665, allocations: 140.1 kB / 0.9556 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.8665, allocations: 32.02 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.8666, allocations: 46.33 kB / 0.9557 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.8667, allocations: 327.3 kB / 0.956 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.8668, allocations: 47.56 kB / 0.956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.867, allocations: 87.44 kB / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.8672, allocations: 88.19 kB / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8672, allocations: 3.938 kB / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002955/0.8675, allocations: 149.8 kB / 0.9563 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8675, allocations: 5.906 kB / 0.9563 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8675, allocations: 3.984 kB / 0.9563 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8676, allocations: 5.312 kB / 0.9564 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.8677, allocations: 24.55 kB / 0.9564 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.8677, allocations: 1.156 kB / 0.9564 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.8678, allocations: 29.92 kB / 0.9564 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.8679, allocations: 4.469 kB / 0.9564 GB, free: 3.203 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.0001306/0.868, allocations: 134.9 kB / 0.9565 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.8681, allocations: 17.25 kB / 0.9566 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.8684, allocations: 148.6 kB / 0.9567 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.8684, allocations: 3.938 kB / 0.9567 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8684, allocations: 4 kB / 0.9567 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.8684, allocations: 7.547 kB / 0.9567 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.8686, allocations: 266.6 kB / 0.957 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8686, allocations: 3.938 kB / 0.957 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.8687, allocations: 18.78 kB / 0.957 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8688, allocations: 5.734 kB / 0.957 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.8688, allocations: 0 / 0.957 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.8688, allocations: 9.625 kB / 0.957 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8688, allocations: 0 / 0.957 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.8691, allocations: 232.1 kB / 0.9572 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.8691, allocations: 93.52 kB / 0.9573 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.8692, allocations: 7 kB / 0.9573 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.8693, allocations: 27.47 kB / 0.9573 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.8694, allocations: 21.34 kB / 0.9574 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.8694, allocations: 7.141 kB / 0.9574 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001168/0.8695, allocations: 158.2 kB / 0.9575 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8696, allocations: 0 / 0.9575 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002703/0.8698, allocations: 40.62 kB / 0.9576 GB, free: 2.203 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.0005212/0.8704, allocations: 0.7676 MB / 0.9583 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.8707, allocations: 112.5 kB / 0.9584 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8707, allocations: 192 / 0.9584 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.8708, allocations: 63.47 kB / 0.9585 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.8712, allocations: 20.25 kB / 0.9585 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.8736, allocations: 2.035 MB / 0.9605 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.874, allocations: 0.7322 MB / 0.9612 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.67e-05/0.8741, allocations: 20.8 kB / 0.9612 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.8742, allocations: 64.72 kB / 0.9613 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8742, allocations: 0 / 0.9613 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.624/3.498, allocations: 3.701 MB / 0.9649 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/3.499, allocations: 240.1 kB / 0.9651 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/5.422, allocations: 0.7188 kB / 0.9651 GB, free: 12.96 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