Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 213.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.32/1.32, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.967/2.967, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.28 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003187/0.3144, allocations: 2.014 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3155, allocations: 0.6196 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.3156, allocations: 3.938 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.3157, allocations: 19.73 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.3158, allocations: 39.59 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3161, allocations: 99.83 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.3164, allocations: 232 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.3166, allocations: 80.27 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3167, allocations: 107.6 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3169, allocations: 83.55 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.3169, allocations: 28 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.317, allocations: 39.92 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.317, allocations: 55.83 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.3171, allocations: 83.53 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.3175, allocations: 286.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3175, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3175, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3175, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 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.0007487/0.3182, allocations: 466.6 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3183, allocations: 8.031 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.3183, allocations: 54.73 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3186, allocations: 44.78 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.3189, allocations: 206.1 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.319, allocations: 12.38 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.319, allocations: 16.38 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.3194, allocations: 301.8 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3194, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3195, allocations: 8 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3195, allocations: 4 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.3198, allocations: 143.7 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.3207, allocations: 0.5108 MB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.321, allocations: 118.7 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3211, allocations: 52.83 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3211, allocations: 4 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3212, allocations: 30.56 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3212, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004237/0.3216, allocations: 169.6 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.3217, allocations: 128.5 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.3219, allocations: 227.8 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3219, allocations: 33.7 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.322, allocations: 144.3 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3221, allocations: 39.73 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.3221, allocations: 33.7 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3223, allocations: 326.8 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3224, allocations: 47.97 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3226, allocations: 161.4 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.3228, allocations: 88.25 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3228, allocations: 0 / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003012/0.3231, allocations: 161.5 kB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3231, allocations: 4 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3231, allocations: 0 / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3231, allocations: 7.938 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.3232, allocations: 15.98 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3232, allocations: 4 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3233, allocations: 31.86 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3234, allocations: 4.031 kB / 1.371 GB, free: 6.441 MB / 1.061 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.0001353/0.3235, allocations: 141.8 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.3235, allocations: 15.95 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.3236, allocations: 25.38 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3236, allocations: 3.938 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3236, allocations: 0 / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3236, allocations: 4.375 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.3239, allocations: 216.7 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3239, allocations: 0 / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.3239, allocations: 15.98 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3239, allocations: 7.938 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.324, allocations: 0 / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.324, allocations: 3.938 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.324, allocations: 3.984 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.3243, allocations: 227.3 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.3243, allocations: 15.91 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3243, allocations: 7.984 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3245, allocations: 23.92 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.3246, allocations: 27.95 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3246, allocations: 11.92 kB / 1.371 GB, free: 5.637 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001458/0.3247, allocations: 152.6 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3247, allocations: 3.938 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002466/0.325, allocations: 39.89 kB / 1.371 GB, free: 5.445 MB / 1.061 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.0006272/0.3256, allocations: 0.767 MB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.3259, allocations: 107.9 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3259, allocations: 0 / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.326, allocations: 56.03 kB / 1.372 GB, free: 4.488 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3263, allocations: 26.62 kB / 1.372 GB, free: 4.461 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.3286, allocations: 2.02 MB / 1.374 GB, free: 2.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3288, allocations: 117.2 kB / 1.374 GB, free: 2.227 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.226e-05/0.3289, allocations: 21.42 kB / 1.374 GB, free: 2.203 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.329, allocations: 63.41 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.329, allocations: 0 / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.3605, allocations: 4.678 MB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.72, allocations: 8.328 kB / 1.379 GB, free: 13.66 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.747383255977184]