Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001808/0.001808, allocations: 97.88 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.002232/0.002232, allocations: 217.8 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.322/3.322, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.Reals.Validation.Round,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.002041/0.002041, allocations: 63.42 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4398, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002341/0.4422, allocations: 0.7434 MB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4434, allocations: 0.8627 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.4435, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.4435, allocations: 3.938 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.4436, allocations: 15.86 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.4438, allocations: 35.91 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.4439, allocations: 67.89 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.4441, allocations: 11.98 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.4442, allocations: 39.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.4443, allocations: 39.81 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.4443, allocations: 12 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.4443, allocations: 8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.4443, allocations: 11.98 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.4444, allocations: 27.86 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4445, allocations: 75.91 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4446, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4446, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4446, allocations: 0 / 1.329 GB, free: 15.51 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006661/0.4452, allocations: 310 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4453, allocations: 8.031 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.4453, allocations: 4.188 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.4453, allocations: 42.69 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.4454, allocations: 12.89 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.4456, allocations: 118.4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4456, allocations: 4.375 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.4456, allocations: 8.375 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.4458, allocations: 85.89 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4459, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4459, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4459, allocations: 4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.4461, allocations: 71.81 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.4467, allocations: 279.8 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.447, allocations: 82.53 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4471, allocations: 44.86 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.4471, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4472, allocations: 30.56 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.4472, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000532/0.4477, allocations: 129.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.4478, allocations: 55.41 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.448, allocations: 121.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.448, allocations: 25.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4481, allocations: 100 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.4482, allocations: 15.86 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.4482, allocations: 21.7 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.4484, allocations: 326.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4485, allocations: 31.91 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.4487, allocations: 31.97 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4489, allocations: 68.75 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4489, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003269/0.4492, allocations: 110 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4492, allocations: 8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4492, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4493, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4494, allocations: 23.92 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4494, allocations: 3.984 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.4495, allocations: 7.984 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4495, allocations: 112 / 1.331 GB, free: 13.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001291/0.4497, allocations: 126.2 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4497, allocations: 7.953 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.4497, allocations: 12.38 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4497, allocations: 11.97 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4497, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4497, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.45, allocations: 152.7 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.45, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4501, allocations: 15.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4501, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4501, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4501, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4501, allocations: 4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.4505, allocations: 207.3 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.4505, allocations: 8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.4505, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.4506, allocations: 7.984 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.4507, allocations: 11.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4507, allocations: 4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.4508, allocations: 95.27 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4508, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002476/0.451, allocations: 23.89 kB / 1.331 GB, free: 12.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007633/0.4518, allocations: 0.728 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.4521, allocations: 68.06 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4521, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.4523, allocations: 48.03 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.4526, allocations: 9.875 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.455, allocations: 1.452 MB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.4551, allocations: 75.33 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.437e-05/0.4551, allocations: 8 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.4552, allocations: 27.36 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.4552, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.4796, allocations: 2.603 MB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.91, allocations: 11.5 kB / 1.336 GB, free: 7.418 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.89108352700714] Failed to read output from testmodel.py, exit status != 0: 12.06865705398377 12.086099517 11.638247948 Calling exit ...