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.001395/0.001395, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001568/0.001568, allocations: 217.8 kB / 23.05 MB, free: 5.074 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.329/1.329, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.835/2.835, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",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.001802/0.001802, allocations: 70.27 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2772, allocations: 176.1 MB / 1.327 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003139/0.2803, allocations: 2.083 MB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.2814, allocations: 0.6623 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.2815, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2816, allocations: 31.61 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.2817, allocations: 39.59 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.282, allocations: 99.83 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.2823, allocations: 232 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2825, allocations: 88.25 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.2826, allocations: 95.64 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2828, allocations: 107.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.2828, allocations: 24 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.2829, allocations: 35.98 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.2829, allocations: 51.83 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.283, allocations: 111.4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.2834, allocations: 286.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2834, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2834, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2834, allocations: 0 / 1.33 GB, free: 13.89 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.0007279/0.2841, allocations: 473 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2841, allocations: 12.03 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.2842, allocations: 12.17 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.2842, allocations: 46.73 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.2845, allocations: 60.66 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.2848, allocations: 186.2 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2849, allocations: 16.38 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.2849, allocations: 16.38 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.2853, allocations: 236.4 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2853, allocations: 0 / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.2853, allocations: 8 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2853, allocations: 4 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.2856, allocations: 139.9 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.2865, allocations: 0.5613 MB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.2868, allocations: 110.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2869, allocations: 52.89 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.287, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.287, allocations: 38.56 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.287, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004328/0.2874, allocations: 165.6 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.2875, allocations: 144.4 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2877, allocations: 215.8 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2877, allocations: 33.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2878, allocations: 148.3 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.2879, allocations: 35.72 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.2879, allocations: 37.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2881, allocations: 326.8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2882, allocations: 43.97 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2883, allocations: 85.39 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2885, allocations: 92.62 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2885, allocations: 0 / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003046/0.2888, allocations: 153.6 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2888, allocations: 9.969 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2888, allocations: 384 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2889, allocations: 3.938 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.289, allocations: 23.92 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.289, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2891, allocations: 35.8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.2891, allocations: 4 kB / 1.334 GB, free: 10.18 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.0001334/0.2892, allocations: 133.9 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.2893, allocations: 15.91 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.2894, allocations: 33.33 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2894, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2894, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2894, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.2896, allocations: 240.6 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2896, allocations: 0 / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.2897, allocations: 23.92 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2897, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2898, allocations: 11.92 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2898, allocations: 4 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2898, allocations: 0 / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2901, allocations: 219.4 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.2901, allocations: 19.84 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.2901, allocations: 15.94 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2903, allocations: 19.98 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.2904, allocations: 27.94 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2904, allocations: 0 / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2905, allocations: 156.6 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2905, allocations: 0 / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002486/0.2907, allocations: 35.89 kB / 1.335 GB, free: 9.18 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.0006068/0.2914, allocations: 0.7748 MB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.2916, allocations: 111.8 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2916, allocations: 0 / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.2918, allocations: 51.98 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2921, allocations: 28.59 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.2944, allocations: 2.004 MB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.2947, allocations: 0.732 MB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.874e-05/0.2948, allocations: 29.39 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.2949, allocations: 63.41 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.2949, allocations: 0 / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.3193, allocations: 4.158 MB / 1.343 GB, free: 1.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.91, allocations: 8.047 kB / 1.343 GB, free: 1.262 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] [Calling os._exit(0), Time elapsed: 16.777690008981153] Failed to read output from testmodel.py, exit status != 0: 11.063370402960572 11.077556571 10.791325046 Calling exit ...