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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.5 MB / 0.7287 GB, free: 14.59 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 63.91 kB / 1.056 GB, free: 2.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.36, allocations: 160.7 MB / 1.213 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003707/0.3637, allocations: 2.052 MB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3649, allocations: 0.5805 MB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.365, allocations: 4 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3651, allocations: 23.72 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.3652, allocations: 35.61 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.3656, allocations: 83.83 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.3659, allocations: 224 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.3661, allocations: 87.91 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.3663, allocations: 91.66 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3664, allocations: 103.5 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.3665, allocations: 24 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.3666, allocations: 32 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.3667, allocations: 63.7 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3668, allocations: 103.5 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.3672, allocations: 274.8 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3672, allocations: 8 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3672, allocations: 0 / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3672, allocations: 0 / 1.217 GB, free: 13.66 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.0009817/0.3682, allocations: 0.5217 MB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3682, allocations: 12.03 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.087e-05/0.3683, allocations: 50.73 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.3684, allocations: 28.8 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.3688, allocations: 244.8 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.3688, allocations: 20.38 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3688, allocations: 16.38 kB / 1.217 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.3693, allocations: 232.6 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3693, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3693, allocations: 15.94 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3693, allocations: 4 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.3697, allocations: 143.7 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3707, allocations: 0.5975 MB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.3711, allocations: 110.7 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3712, allocations: 44.91 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.3713, allocations: 4.172 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3713, allocations: 42.5 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3713, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004666/0.3718, allocations: 173.4 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.3719, allocations: 128.5 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3721, allocations: 214.9 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3721, allocations: 33.7 kB / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3722, allocations: 144.3 kB / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.3723, allocations: 39.66 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.3724, allocations: 33.7 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3725, allocations: 330.8 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3726, allocations: 47.97 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3728, allocations: 84.27 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.373, allocations: 89.62 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.373, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003146/0.3733, allocations: 161.5 kB / 1.22 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3733, allocations: 7.938 kB / 1.22 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3733, allocations: 0 / 1.22 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3733, allocations: 3.938 kB / 1.22 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3735, allocations: 23.98 kB / 1.22 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3735, allocations: 0 / 1.22 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3736, allocations: 31.89 kB / 1.22 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3736, allocations: 4 kB / 1.22 GB, free: 9.789 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.0001573/0.3738, allocations: 134.2 kB / 1.22 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.3738, allocations: 19.84 kB / 1.22 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.3742, allocations: 143 kB / 1.22 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3742, allocations: 11.94 kB / 1.22 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3742, allocations: 0 / 1.22 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3742, allocations: 0 / 1.22 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.3745, allocations: 273.5 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3745, allocations: 0 / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.3746, allocations: 15.98 kB / 1.221 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3746, allocations: 0 / 1.221 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3747, allocations: 3.984 kB / 1.221 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3747, allocations: 3.938 kB / 1.221 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3747, allocations: 0 / 1.221 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.375, allocations: 235.3 kB / 1.221 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.3751, allocations: 96.94 kB / 1.221 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.3751, allocations: 8 kB / 1.221 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3753, allocations: 15.92 kB / 1.221 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.3754, allocations: 27.95 kB / 1.221 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3754, allocations: 11.94 kB / 1.221 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001365/0.3755, allocations: 149 kB / 1.221 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 1.221 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002632/0.3758, allocations: 39.89 kB / 1.221 GB, free: 8.527 MB / 0.9669 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.0007679/0.3765, allocations: 0.7788 MB / 1.222 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.3769, allocations: 103.9 kB / 1.222 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3769, allocations: 0 / 1.222 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.377, allocations: 55.91 kB / 1.222 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3774, allocations: 23.28 kB / 1.222 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.3801, allocations: 2.001 MB / 1.224 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3806, allocations: 0.7319 MB / 1.225 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.918e-05/0.3807, allocations: 25.45 kB / 1.225 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3808, allocations: 63.41 kB / 1.225 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of SimCode: time 1.332e-06/0.3808, allocations: 0 / 1.225 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.4092, allocations: 4.032 MB / 1.229 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.39, allocations: 0.5 kB / 1.229 GB, free: 0.7539 MB / 0.9669 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.236322882119566]