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.00181/0.00181, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.002032/0.002032, allocations: 211.5 kB / 23.04 MB, free: 5.062 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.352/3.352, allocations: 0.5003 GB / 0.8061 GB, free: 26.7 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.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.002036/0.002036, allocations: 64.52 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4056, allocations: 179 MB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.003209/0.4088, allocations: 0.9034 MB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.4105, allocations: 0.925 MB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.4107, allocations: 7.938 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.4108, allocations: 11.86 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.411, allocations: 7.875 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.4113, allocations: 71.84 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.4117, allocations: 135.8 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.412, allocations: 41.42 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.4121, allocations: 59.77 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4122, allocations: 63.69 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.4123, allocations: 12 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.4123, allocations: 15.94 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.4123, allocations: 27.92 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.4124, allocations: 59.66 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.4127, allocations: 147.6 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4127, allocations: 0 / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4127, allocations: 4 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4127, allocations: 4 kB / 1.348 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007443/0.4134, allocations: 365.8 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4135, allocations: 8.031 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.428e-05/0.4135, allocations: 4.188 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.4136, allocations: 42.75 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.4136, allocations: 24.83 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.4139, allocations: 150.3 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4139, allocations: 12.38 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.414, allocations: 12.38 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.4143, allocations: 157.8 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4144, allocations: 0 / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4144, allocations: 8 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4144, allocations: 4 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.4147, allocations: 127.9 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009469/0.4157, allocations: 459.2 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.4159, allocations: 94.41 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.416, allocations: 40.83 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.4161, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4161, allocations: 38.56 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 9.71e-07/0.4161, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0005333/0.4167, allocations: 161.7 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4167, allocations: 51.41 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.417, allocations: 191.6 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.417, allocations: 33.7 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4171, allocations: 116 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.4172, allocations: 35.69 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.4173, allocations: 29.7 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.4174, allocations: 322.8 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.4176, allocations: 47.91 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4178, allocations: 46.11 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.418, allocations: 100.7 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.418, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003469/0.4184, allocations: 145.5 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4184, allocations: 4 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4184, allocations: 0 / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4184, allocations: 8 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.4186, allocations: 27.92 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4186, allocations: 0 / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4187, allocations: 19.88 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4187, allocations: 4 kB / 1.351 GB, free: 10.83 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: 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.000119/0.4188, allocations: 117.8 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.4189, allocations: 19.91 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.4193, allocations: 139.3 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4193, allocations: 4.094 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4193, allocations: 7.922 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4193, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.4199, allocations: 427.9 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4199, allocations: 4 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.4201, allocations: 23.97 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.4201, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4201, allocations: 8 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4201, allocations: 0 / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4201, allocations: 3.938 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.4205, allocations: 242 kB / 1.352 GB, free: 9.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.4205, allocations: 19.84 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4205, allocations: 4 kB / 1.352 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4207, allocations: 19.97 kB / 1.352 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.4207, allocations: 15.88 kB / 1.352 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4207, allocations: 7.984 kB / 1.352 GB, free: 9.676 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001345/0.4209, allocations: 140.1 kB / 1.352 GB, free: 9.539 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4209, allocations: 0 / 1.352 GB, free: 9.539 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000264/0.4211, allocations: 24 kB / 1.352 GB, free: 9.516 MB / 1.045 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.0007367/0.4219, allocations: 0.779 MB / 1.352 GB, free: 8.703 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.4222, allocations: 95.89 kB / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4222, allocations: 3.938 kB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4224, allocations: 47.91 kB / 1.353 GB, free: 8.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.4227, allocations: 23.03 kB / 1.353 GB, free: 8.539 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4252, allocations: 1.888 MB / 1.354 GB, free: 6.559 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.4255, allocations: 0.7123 MB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.418e-05/0.4256, allocations: 13.08 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.4257, allocations: 43.42 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.4257, allocations: 0 / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.4493, allocations: 3.002 MB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 1.891 kB / 1.358 GB, free: 2.91 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.030463440984022] Failed to read output from testmodel.py, exit status != 0: 12.1109823390143 12.12765774 11.711529944 Calling exit ...