Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001302/0.001302, 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.001484/0.001484, allocations: 218.5 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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 3.221/3.221, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.003049/0.003049, allocations: 61.86 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4262, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002307/0.4285, allocations: 0.7524 MB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.4298, allocations: 0.8859 MB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.4299, allocations: 4 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.43, allocations: 3.938 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.4301, allocations: 15.86 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.4303, allocations: 39.95 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.4305, allocations: 91.75 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.4306, allocations: 16.27 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.4308, allocations: 43.91 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4309, allocations: 47.77 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.4309, allocations: 8 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.4309, allocations: 8 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.431, allocations: 19.97 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.431, allocations: 35.84 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.4312, allocations: 91.55 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4312, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4312, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.4312, allocations: 0 / 1.347 GB, free: 13.86 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007199/0.4319, allocations: 322 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.432, allocations: 12.03 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.642e-05/0.432, allocations: 192 / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.432, allocations: 46.73 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.4321, allocations: 8.891 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.4322, allocations: 118.4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4323, allocations: 8.312 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4323, allocations: 7.938 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.4326, allocations: 109.6 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4327, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4327, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4327, allocations: 3.984 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.4331, allocations: 91.91 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.4336, allocations: 295.8 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.4343, allocations: 118.6 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.4345, allocations: 56.75 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4345, allocations: 3.984 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4346, allocations: 34.56 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.4346, allocations: 0 / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006633/0.4352, allocations: 185.4 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.4353, allocations: 59.34 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4354, allocations: 125.8 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4354, allocations: 29.7 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.4355, allocations: 92.09 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.4355, allocations: 23.78 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.4355, allocations: 29.64 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4357, allocations: 318.8 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4359, allocations: 47.95 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.436, allocations: 47.94 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.4363, allocations: 100.7 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4363, allocations: 0 / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004266/0.4368, allocations: 137.5 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4368, allocations: 4 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4368, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4368, allocations: 4 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.437, allocations: 27.97 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.437, allocations: 3.938 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4371, allocations: 15.98 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4371, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001089/0.4372, allocations: 126.4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.4373, allocations: 7.953 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.4377, allocations: 142 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4377, allocations: 8 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4377, allocations: 3.938 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4377, allocations: 3.938 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.4379, allocations: 164.6 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4379, allocations: 4 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4381, allocations: 23.97 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4381, allocations: 4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4381, allocations: 0 / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4381, allocations: 3.938 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4381, allocations: 3.938 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.4386, allocations: 239.4 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.4386, allocations: 7.953 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4386, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4388, allocations: 15.97 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.4388, allocations: 27.91 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.4388, allocations: 0 / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.44e-05/0.4389, allocations: 99.27 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4389, allocations: 4 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002291/0.4391, allocations: 12 kB / 1.351 GB, free: 10.27 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007715/0.4399, allocations: 0.7677 MB / 1.351 GB, free: 9.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.4403, allocations: 108 kB / 1.351 GB, free: 9.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4403, allocations: 0 / 1.351 GB, free: 9.375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4405, allocations: 59.89 kB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4409, allocations: 21.73 kB / 1.351 GB, free: 9.297 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4429, allocations: 1.53 MB / 1.353 GB, free: 7.688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.443, allocations: 79.08 kB / 1.353 GB, free: 7.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.145e-05/0.4431, allocations: 11.98 kB / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.4432, allocations: 31.42 kB / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.4432, allocations: 0 / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.4662, allocations: 2.992 MB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.66, allocations: 9.109 kB / 1.356 GB, free: 4.703 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.643691416014917] Failed to read output from testmodel.py, exit status != 0: 11.819089336902834 11.846643497 11.410335454 Calling exit ...