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.001495/0.001495, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001844/0.001844, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.338/1.338, allocations: 230.6 MB / 256.8 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.979/2.979, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_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.001848/0.001848, allocations: 68.88 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.292, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003278/0.2953, allocations: 1.998 MB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2964, allocations: 0.6118 MB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.2965, allocations: 7.938 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2966, allocations: 19.73 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.2967, allocations: 39.59 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.297, allocations: 99.83 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2973, allocations: 240 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.2975, allocations: 84.27 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.2976, allocations: 99.58 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2978, allocations: 99.53 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.2978, allocations: 28 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.2979, allocations: 43.92 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.298, allocations: 51.84 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.2981, allocations: 83.53 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.2984, allocations: 290.8 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2984, allocations: 3.938 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2984, allocations: 4 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2984, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 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.0007302/0.2991, allocations: 464.9 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2992, allocations: 8.031 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.2992, allocations: 8.188 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.2992, allocations: 46.73 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.2995, allocations: 60.72 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.2999, allocations: 194.1 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2999, allocations: 16.38 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.2999, allocations: 16.38 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.3003, allocations: 301.8 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3004, allocations: 0 / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.3004, allocations: 12 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3004, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.3007, allocations: 147.8 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.3016, allocations: 0.5031 MB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.3019, allocations: 110.7 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.302, allocations: 48.84 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.302, allocations: 4 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3021, allocations: 34.56 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3021, allocations: 0 / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004282/0.3025, allocations: 177.5 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.3026, allocations: 132.5 kB / 1.351 GB, free: 9.648 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3028, allocations: 211.9 kB / 1.351 GB, free: 9.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3028, allocations: 29.7 kB / 1.351 GB, free: 9.395 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3029, allocations: 152.3 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3029, allocations: 39.73 kB / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.303, allocations: 37.64 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3031, allocations: 331.2 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3032, allocations: 43.98 kB / 1.352 GB, free: 8.785 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3034, allocations: 161.4 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3036, allocations: 87.5 kB / 1.352 GB, free: 8.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3036, allocations: 3.938 kB / 1.352 GB, free: 8.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002994/0.3039, allocations: 161.4 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3039, allocations: 4 kB / 1.352 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.304, allocations: 4 kB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.304, allocations: 3.938 kB / 1.352 GB, free: 8.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3041, allocations: 19.98 kB / 1.352 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3041, allocations: 3.984 kB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3042, allocations: 23.92 kB / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.3042, allocations: 12.02 kB / 1.352 GB, free: 8.266 MB / 1.045 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.0001278/0.3044, allocations: 140 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.3044, allocations: 19.86 kB / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.3044, allocations: 25.33 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3044, allocations: 4 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3044, allocations: 0 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3045, allocations: 0 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.3047, allocations: 216.7 kB / 1.353 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3047, allocations: 0 / 1.353 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.3048, allocations: 19.98 kB / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3048, allocations: 0 / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3048, allocations: 3.938 kB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3048, allocations: 0 / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3048, allocations: 0 / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.3051, allocations: 235.3 kB / 1.353 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.3052, allocations: 11.91 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.3052, allocations: 11.94 kB / 1.353 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3054, allocations: 23.97 kB / 1.353 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.3054, allocations: 23.95 kB / 1.353 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3054, allocations: 4 kB / 1.353 GB, free: 7.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001454/0.3056, allocations: 160.5 kB / 1.353 GB, free: 7.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3056, allocations: 0 / 1.353 GB, free: 7.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002605/0.3058, allocations: 39.89 kB / 1.353 GB, free: 7.285 MB / 1.045 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.0006216/0.3065, allocations: 0.7696 MB / 1.354 GB, free: 6.488 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3068, allocations: 114.3 kB / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3068, allocations: 0 / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3069, allocations: 51.92 kB / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3072, allocations: 24.66 kB / 1.354 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.3096, allocations: 2.014 MB / 1.356 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3097, allocations: 117.2 kB / 1.356 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.999e-05/0.3098, allocations: 29.44 kB / 1.356 GB, free: 4.039 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3099, allocations: 67.41 kB / 1.356 GB, free: 3.977 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.3099, allocations: 0 / 1.356 GB, free: 3.977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.3349, allocations: 4.299 MB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.11, allocations: 4.062 kB / 1.361 GB, free: 15.9 MB / 1.061 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] [Calling os._exit(0), Time elapsed: 17.149562219972722] Failed to read output from testmodel.py, exit status != 0: 11.266258555930108 11.285062332 10.983159893 Calling exit ...