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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 105.6 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.002234/0.002234, 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.525/1.525, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.969/2.969, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.88 kB / 1.104 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 168.7 MB / 1.269 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00336/1.031, allocations: 2.05 MB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001028/1.032, allocations: 0.5702 MB / 1.271 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/1.032, allocations: 2.5 kB / 1.271 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/1.033, allocations: 24.44 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/1.033, allocations: 38.03 kB / 1.271 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/1.033, allocations: 83.48 kB / 1.271 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/1.033, allocations: 227.7 kB / 1.272 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/1.033, allocations: 90.53 kB / 1.272 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/1.034, allocations: 99.42 kB / 1.272 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/1.034, allocations: 100.4 kB / 1.272 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/1.034, allocations: 24.81 kB / 1.272 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.727e-05/1.034, allocations: 32.38 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/1.034, allocations: 57.06 kB / 1.272 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/1.034, allocations: 101.7 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004705/1.035, allocations: 281.7 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.035, allocations: 0.75 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.035, allocations: 0.7031 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.035, allocations: 0 / 1.272 GB, free: 5.27 MB / 0.9981 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.0008096/1.035, allocations: 0.5209 MB / 1.273 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.035, allocations: 9.5 kB / 1.273 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/1.036, allocations: 49.11 kB / 1.273 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/1.036, allocations: 30.09 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/1.036, allocations: 261 kB / 1.273 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.036, allocations: 19.97 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/1.036, allocations: 16.31 kB / 1.273 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/1.036, allocations: 230.6 kB / 1.274 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.036, allocations: 0 / 1.274 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/1.036, allocations: 10.41 kB / 1.274 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.036, allocations: 4.031 kB / 1.274 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/1.037, allocations: 145.1 kB / 1.274 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/1.037, allocations: 0.5888 MB / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/1.038, allocations: 119 kB / 1.274 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/1.038, allocations: 50.97 kB / 1.274 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/1.038, allocations: 6.281 kB / 1.274 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.038, allocations: 34.09 kB / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/1.038, allocations: 0 / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004888/1.038, allocations: 175.8 kB / 1.275 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.039, allocations: 130.9 kB / 1.275 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/1.039, allocations: 214.2 kB / 1.275 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.039, allocations: 32.67 kB / 1.275 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/1.039, allocations: 143.2 kB / 1.275 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/1.039, allocations: 31.58 kB / 1.275 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/1.039, allocations: 39.25 kB / 1.275 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/1.039, allocations: 332.2 kB / 1.275 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.039, allocations: 46.45 kB / 1.276 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.039, allocations: 80.67 kB / 1.276 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/1.039, allocations: 94.61 kB / 1.276 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.039, allocations: 0.9688 kB / 1.276 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003148/1.04, allocations: 164.4 kB / 1.276 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.04, allocations: 5.656 kB / 1.276 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.04, allocations: 1.188 kB / 1.276 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.04, allocations: 5.156 kB / 1.276 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.04, allocations: 14.28 kB / 1.276 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/1.04, allocations: 5.484 kB / 1.276 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.04, allocations: 32.89 kB / 1.276 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/1.04, allocations: 3.344 kB / 1.276 GB, free: 2.602 MB / 0.9981 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.0001244/1.04, allocations: 135.9 kB / 1.276 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/1.04, allocations: 22.03 kB / 1.276 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/1.041, allocations: 145.5 kB / 1.276 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.041, allocations: 8.844 kB / 1.276 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.041, allocations: 4.75 kB / 1.276 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.041, allocations: 4.453 kB / 1.276 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/1.041, allocations: 277.2 kB / 1.276 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.041, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/1.041, allocations: 15.28 kB / 1.277 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.041, allocations: 0.7188 kB / 1.277 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.041, allocations: 8.453 kB / 1.277 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.041, allocations: 4.531 kB / 1.277 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.041, allocations: 0.9375 kB / 1.277 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/1.041, allocations: 230 kB / 1.277 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/1.041, allocations: 95.88 kB / 1.277 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/1.041, allocations: 5.719 kB / 1.277 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/1.042, allocations: 22.09 kB / 1.277 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/1.042, allocations: 25.34 kB / 1.277 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.042, allocations: 7.656 kB / 1.277 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001127/1.042, allocations: 149 kB / 1.277 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002847/1.042, allocations: 36.89 kB / 1.277 GB, free: 1.723 MB / 0.9981 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.0005093/1.043, allocations: 0.7727 MB / 1.278 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003222/1.043, allocations: 106 kB / 1.278 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.043, allocations: 4.938 kB / 1.278 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/1.043, allocations: 48.77 kB / 1.278 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/1.043, allocations: 24.2 kB / 1.278 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.046, allocations: 1.999 MB / 1.28 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/1.046, allocations: 0.7368 MB / 1.281 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.738e-05/1.046, allocations: 15.09 kB / 1.281 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.046, allocations: 67.38 kB / 1.281 GB, free: 14.7 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.046, allocations: 0 / 1.281 GB, free: 14.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/1.075, allocations: 4.024 MB / 1.285 GB, free: 14.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/9.381, allocations: 9.969 kB / 1.285 GB, free: 14.18 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.002 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.850897465832531]