Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0012/0.0012, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001368/0.001368, allocations: 214.9 kB / 22.24 MB, free: 5.105 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.887/2.887, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_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.001849/0.001849, allocations: 61.84 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2923, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003313/0.2956, allocations: 2.008 MB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2967, allocations: 0.6196 MB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.2968, allocations: 7.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.2969, allocations: 19.73 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.2969, allocations: 39.59 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.2973, allocations: 99.83 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.2975, allocations: 236 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2977, allocations: 84.27 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2979, allocations: 103.6 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.298, allocations: 99.55 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.2981, allocations: 24 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.2981, allocations: 35.92 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.2982, allocations: 63.7 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.2983, allocations: 83.59 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.2986, allocations: 286.8 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2986, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2986, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2986, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 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.0007473/0.2994, allocations: 461.1 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2994, allocations: 16.02 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.2995, allocations: 50.73 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.2998, allocations: 48.73 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3001, allocations: 202.1 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3001, allocations: 12.38 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.3002, allocations: 20.38 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.3006, allocations: 305.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3006, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3007, allocations: 8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3007, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.301, allocations: 147.9 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.3018, allocations: 0.5107 MB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.3022, allocations: 114.7 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3023, allocations: 44.84 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3023, allocations: 4 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3023, allocations: 34.55 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.3023, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004207/0.3027, allocations: 169.6 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.3028, allocations: 132.5 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.303, allocations: 219.8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.303, allocations: 33.7 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3032, allocations: 152.3 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3032, allocations: 32.11 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.3033, allocations: 37.7 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3034, allocations: 326.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3035, allocations: 47.97 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.3037, allocations: 165.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.3039, allocations: 86.12 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3039, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003001/0.3042, allocations: 160.2 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3042, allocations: 8 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3042, allocations: 0 / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3042, allocations: 7.938 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3043, allocations: 15.98 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3043, allocations: 0 / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3045, allocations: 31.86 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3045, allocations: 8 kB / 1.333 GB, free: 9.84 MB / 1.029 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.0001294/0.3046, allocations: 140.9 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3047, allocations: 19.86 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.3047, allocations: 25.39 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3047, allocations: 7.938 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3047, allocations: 0 / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3047, allocations: 0 / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.305, allocations: 212.7 kB / 1.333 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.305, allocations: 0 / 1.333 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.3051, allocations: 15.98 kB / 1.333 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3051, allocations: 4 kB / 1.333 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3051, allocations: 4 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3051, allocations: 7.875 kB / 1.333 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3051, allocations: 0 / 1.333 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.3054, allocations: 227.3 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.3054, allocations: 15.86 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.3055, allocations: 8 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3056, allocations: 27.91 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.3057, allocations: 27.95 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3057, allocations: 0 / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001338/0.3058, allocations: 164.5 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3058, allocations: 0 / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002573/0.3061, allocations: 35.89 kB / 1.334 GB, free: 8.852 MB / 1.029 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.0006093/0.3067, allocations: 0.7709 MB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.307, allocations: 107.9 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.307, allocations: 0 / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3071, allocations: 51.91 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3074, allocations: 20.61 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3097, allocations: 2.016 MB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3098, allocations: 121.2 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.81e-05/0.3099, allocations: 21.45 kB / 1.337 GB, free: 5.617 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.31, allocations: 67.41 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.31, allocations: 0 / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.3537, allocations: 4.713 MB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.8, allocations: 4.469 kB / 1.342 GB, free: 1.004 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.750901563005755]