Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001758/0.001758, allocations: 120 kB / 17.17 MB, free: 5.977 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.002109/0.002109, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.138/3.138, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_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.002865/0.002865, allocations: 77.75 kB / 1.165 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173/1.176, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002738/1.179, allocations: 0.8943 MB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001513/1.18, allocations: 0.9199 MB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/1.18, allocations: 6.594 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/1.181, allocations: 17.78 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/1.181, allocations: 9.734 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/1.181, allocations: 66.42 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/1.181, allocations: 136.4 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/1.181, allocations: 42.25 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/1.182, allocations: 52.41 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/1.182, allocations: 68 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/1.182, allocations: 12.88 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.321e-05/1.182, allocations: 12.5 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/1.182, allocations: 30.67 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/1.182, allocations: 62.34 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/1.182, allocations: 148.6 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.182, allocations: 0 / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/1.182, allocations: 0 / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.816e-06/1.182, allocations: 1.688 kB / 1.343 GB, free: 14.66 MB / 1.061 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.0007723/1.183, allocations: 442.6 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.183, allocations: 10.47 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.3e-05/1.183, allocations: 11.16 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/1.183, allocations: 46.8 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/1.183, allocations: 16.28 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/1.183, allocations: 218.4 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/1.183, allocations: 10.16 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/1.183, allocations: 12 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/1.184, allocations: 161.8 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.184, allocations: 1.5 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.184, allocations: 5.406 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.184, allocations: 3.312 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/1.184, allocations: 124.3 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/1.185, allocations: 498.5 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/1.186, allocations: 80.55 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/1.186, allocations: 44.38 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/1.186, allocations: 1.703 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/1.186, allocations: 36.66 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/1.186, allocations: 4 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.000674/1.187, allocations: 158 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/1.187, allocations: 53.48 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/1.187, allocations: 193.7 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/1.187, allocations: 34.89 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/1.187, allocations: 118.3 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/1.187, allocations: 33.53 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/1.187, allocations: 28.58 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/1.187, allocations: 326.6 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/1.187, allocations: 40.98 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/1.187, allocations: 38.69 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/1.188, allocations: 100.5 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.188, allocations: 4 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004419/1.188, allocations: 152.9 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.188, allocations: 4 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.188, allocations: 2.203 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/1.188, allocations: 0 / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.188, allocations: 24.3 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.188, allocations: 1.156 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.189, allocations: 17.22 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.189, allocations: 6.312 kB / 1.346 GB, free: 12.41 MB / 1.061 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 9.475e-05/1.189, allocations: 124.3 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/1.189, allocations: 15.52 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/1.189, allocations: 144.6 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.189, allocations: 2.75 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.189, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.189, allocations: 0.6094 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007352/1.19, allocations: 457.6 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.19, allocations: 1.375 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/1.19, allocations: 24.47 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.19, allocations: 1.891 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.19, allocations: 10.75 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.19, allocations: 5.984 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.19, allocations: 9.25 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/1.191, allocations: 238 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/1.191, allocations: 95.02 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/1.191, allocations: 7.312 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.191, allocations: 13.45 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/1.191, allocations: 10.83 kB / 1.347 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/1.191, allocations: 8.125 kB / 1.347 GB, free: 11.49 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001355/1.191, allocations: 149.2 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.191, allocations: 0 / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003888/1.191, allocations: 23.25 kB / 1.347 GB, free: 11.38 MB / 1.061 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.0006731/1.192, allocations: 0.7757 MB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004199/1.193, allocations: 94.95 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.193, allocations: 1.375 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.193, allocations: 45.83 kB / 1.348 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/1.193, allocations: 24.06 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/1.196, allocations: 1.891 MB / 1.35 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/1.196, allocations: 0.7099 MB / 1.35 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.802e-05/1.196, allocations: 17.61 kB / 1.35 GB, free: 8.434 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/1.196, allocations: 43.25 kB / 1.35 GB, free: 8.402 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/1.196, allocations: 5.031 kB / 1.35 GB, free: 8.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/1.228, allocations: 2.879 MB / 1.353 GB, free: 7.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/9.839, allocations: 7.672 kB / 1.353 GB, free: 7.898 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.595854835992213] Failed to read output from testmodel.py, exit status != 0: 9.969425941002555 9.988141968 8.802199412 Calling exit ...