Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001348/0.001348, allocations: 116.1 kB / 17.17 MB, free: 6 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.001418/0.001418, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.973/2.973, allocations: 476.7 MB / 0.7678 GB, free: 9.391 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.002341/0.002341, allocations: 67.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002367/1.048, allocations: 0.8903 MB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00157/1.05, allocations: 0.927 MB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/1.05, allocations: 10.59 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/1.05, allocations: 10.55 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/1.05, allocations: 13.12 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/1.05, allocations: 62.39 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/1.051, allocations: 136.1 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/1.051, allocations: 46.58 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/1.051, allocations: 53.08 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.051, allocations: 66.91 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/1.051, allocations: 13.44 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/1.051, allocations: 13.41 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/1.051, allocations: 33.64 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/1.051, allocations: 65.8 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/1.052, allocations: 144.6 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.052, allocations: 1.844 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.052, allocations: 0 / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.687e-06/1.052, allocations: 0 / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007982/1.052, allocations: 443.3 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.052, allocations: 13.47 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.086e-05/1.052, allocations: 5.062 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/1.052, allocations: 45.73 kB / 1.282 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/1.052, allocations: 20.59 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/1.053, allocations: 213.4 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/1.053, allocations: 9.906 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/1.053, allocations: 12.41 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/1.053, allocations: 167 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.053, allocations: 0.7031 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.053, allocations: 5.594 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/1.053, allocations: 3.562 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/1.054, allocations: 124.5 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/1.055, allocations: 498.7 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/1.055, allocations: 82.95 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.055, allocations: 40.33 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/1.055, allocations: 1.312 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.055, allocations: 40.78 kB / 1.283 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/1.055, allocations: 0 / 1.283 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0006022/1.056, allocations: 162 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/1.056, allocations: 53.36 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/1.056, allocations: 192.3 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/1.056, allocations: 30.92 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.056, allocations: 117.4 kB / 1.284 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/1.056, allocations: 42.52 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/1.056, allocations: 28.48 kB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.056, allocations: 323.4 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/1.057, allocations: 44.98 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/1.057, allocations: 42.62 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/1.057, allocations: 105.5 kB / 1.284 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.057, allocations: 0 / 1.284 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000418/1.057, allocations: 144.9 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.057, allocations: 4.719 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.057, allocations: 2.266 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.057, allocations: 0 / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/1.058, allocations: 24.78 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.058, allocations: 5.031 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/1.058, allocations: 20.17 kB / 1.284 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/1.058, allocations: 7.781 kB / 1.284 GB, free: 7.832 MB / 0.9981 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 (13): * Single equations (assignments): 13 * 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.0001263/1.058, allocations: 119.9 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/1.058, allocations: 14.06 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/1.058, allocations: 145.3 kB / 1.285 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.058, allocations: 1.75 kB / 1.285 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.058, allocations: 0 / 1.285 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.058, allocations: 6 kB / 1.285 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/1.059, allocations: 453.9 kB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.059, allocations: 3.938 kB / 1.285 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/1.059, allocations: 21.58 kB / 1.285 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.059, allocations: 1.312 kB / 1.285 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/1.059, allocations: 14.47 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.059, allocations: 2.688 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.059, allocations: 7.938 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/1.06, allocations: 246.1 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/1.06, allocations: 91.33 kB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/1.06, allocations: 7.234 kB / 1.285 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.06, allocations: 13.27 kB / 1.285 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/1.06, allocations: 12.06 kB / 1.285 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/1.06, allocations: 10.66 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001201/1.06, allocations: 143.1 kB / 1.286 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.06, allocations: 0 / 1.286 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002472/1.06, allocations: 26.97 kB / 1.286 GB, free: 6.797 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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.0007438/1.061, allocations: 0.7762 MB / 1.286 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003377/1.061, allocations: 92.12 kB / 1.286 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.061, allocations: 3.938 kB / 1.286 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/1.061, allocations: 46.31 kB / 1.287 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/1.062, allocations: 19.38 kB / 1.287 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/1.064, allocations: 1.894 MB / 1.288 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/1.065, allocations: 0.7068 MB / 1.289 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.825e-05/1.065, allocations: 14.53 kB / 1.289 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/1.065, allocations: 42.98 kB / 1.289 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.065, allocations: 0 / 1.289 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.085, allocations: 2.859 MB / 1.292 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/9.448, allocations: 15.77 kB / 1.292 GB, free: 3.336 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.04118334100349] Failed to read output from testmodel.py, exit status != 0: 9.57984177704202 9.604201866 8.548077223 Calling exit ...