Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001297/0.001297, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001443/0.001443, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.002035/0.002035, allocations: 63.56 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002193/0.414, allocations: 0.7517 MB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4154, allocations: 0.8977 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.4155, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.4155, allocations: 7.922 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.4156, allocations: 7.875 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.4159, allocations: 43.94 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.416, allocations: 79.83 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4161, allocations: 28.25 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.4162, allocations: 35.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.4163, allocations: 55.81 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.4164, allocations: 8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.4164, allocations: 8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.4164, allocations: 19.92 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.4165, allocations: 31.8 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.4166, allocations: 91.64 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4166, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4166, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4166, allocations: 3.938 kB / 1.329 GB, free: 15.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006894/0.4173, allocations: 330 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4174, allocations: 8.031 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.414e-05/0.4174, allocations: 4.188 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.4174, allocations: 34.75 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.4175, allocations: 8.891 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4176, allocations: 126.3 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4176, allocations: 4.375 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4177, allocations: 15.94 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.418, allocations: 101.6 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.418, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.418, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.418, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.4184, allocations: 95.89 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.419, allocations: 295.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.4197, allocations: 118.6 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4199, allocations: 48.81 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.4199, allocations: 7.984 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.42, allocations: 38.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.42, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006985/0.4207, allocations: 185.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.4207, allocations: 55.34 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4208, allocations: 121.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4209, allocations: 25.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.4209, allocations: 100.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.421, allocations: 19.78 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.421, allocations: 21.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4212, allocations: 322.8 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.4214, allocations: 47.95 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.4215, allocations: 43.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.4219, allocations: 105.2 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4219, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004316/0.4223, allocations: 141.5 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4224, allocations: 8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4224, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4224, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4226, allocations: 23.97 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4226, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4227, allocations: 19.92 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4227, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 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,max1.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.0001105/0.4228, allocations: 118.3 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.4229, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.4234, allocations: 149.9 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4234, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4234, allocations: 7.938 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4234, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.4236, allocations: 164.6 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4236, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4238, allocations: 27.91 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4238, allocations: 3.938 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4238, allocations: 7.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4238, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4238, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.4243, allocations: 235.4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.4243, allocations: 8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.4243, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.4245, allocations: 15.98 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.4246, allocations: 23.91 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.4246, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.4246, allocations: 95.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4246, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000241/0.4249, allocations: 19.95 kB / 1.332 GB, free: 11.84 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: 3 (max1.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.0008484/0.4257, allocations: 0.767 MB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.4262, allocations: 103.9 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4262, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.4264, allocations: 63.88 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4267, allocations: 9.969 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.4291, allocations: 1.533 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.4291, allocations: 71.33 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.236e-05/0.4292, allocations: 12 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.4293, allocations: 31.42 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4293, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.4548, allocations: 2.997 MB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.78, allocations: 7.609 kB / 1.337 GB, free: 6.277 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.62082442396786] Failed to read output from testmodel.py, exit status != 0: 11.94512362300884 11.971247935 11.549870958 Calling exit ...