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.001718/0.001718, allocations: 101.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.002173/0.002173, allocations: 220.3 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.297/3.297, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.001985/0.001985, allocations: 69.56 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4236, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002398/0.426, allocations: 0.8464 MB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4275, allocations: 0.9056 MB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.4276, allocations: 7.938 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.4276, allocations: 19.8 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.857e-05/0.4277, allocations: 7.875 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.428, allocations: 63.91 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.4282, allocations: 135.7 kB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4284, allocations: 45.41 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.4285, allocations: 55.78 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.4287, allocations: 67.67 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4287, allocations: 12 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.4287, allocations: 12 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.4288, allocations: 27.92 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.4288, allocations: 55.72 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.4291, allocations: 147.5 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4291, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4291, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4291, allocations: 0 / 1.348 GB, free: 13.5 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.0007461/0.4298, allocations: 373.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.4299, allocations: 12.03 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.526e-05/0.4299, allocations: 4.188 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.4299, allocations: 46.75 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.43, allocations: 16.84 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.4303, allocations: 154.3 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4304, allocations: 8.375 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.4304, allocations: 12.38 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.4308, allocations: 231 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4308, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.4309, allocations: 7.938 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.4309, allocations: 8 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.4312, allocations: 123.9 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.4321, allocations: 443.3 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.4323, allocations: 78.53 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4325, allocations: 44.83 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.4325, allocations: 8 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4325, allocations: 30.56 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.4325, allocations: 0 / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0005359/0.4331, allocations: 157.7 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4331, allocations: 55.41 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.4333, allocations: 195.5 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4334, allocations: 29.7 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4335, allocations: 128 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.4335, allocations: 31.7 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.4336, allocations: 29.7 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4337, allocations: 322.8 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4339, allocations: 39.97 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.434, allocations: 49.84 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.4343, allocations: 96.7 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4343, allocations: 4 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003581/0.4346, allocations: 148 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4346, allocations: 6.031 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4346, allocations: 7.984 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4347, allocations: 4 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4348, allocations: 23.98 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4348, allocations: 0 / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.435, allocations: 15.88 kB / 1.35 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.435, allocations: 8 kB / 1.35 GB, free: 10.39 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.0001289/0.4351, allocations: 121.8 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4351, allocations: 16.28 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.4355, allocations: 146.9 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4355, allocations: 4 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4355, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4355, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.4362, allocations: 408 kB / 1.351 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4362, allocations: 4 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4363, allocations: 19.98 kB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4363, allocations: 0 / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.4363, allocations: 8 kB / 1.351 GB, free: 9.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4363, allocations: 0 / 1.351 GB, free: 9.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4363, allocations: 11.88 kB / 1.351 GB, free: 9.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.4367, allocations: 242 kB / 1.351 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.4367, allocations: 19.83 kB / 1.351 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4368, allocations: 8 kB / 1.351 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4369, allocations: 11.98 kB / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.437, allocations: 15.92 kB / 1.351 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.437, allocations: 4 kB / 1.351 GB, free: 9.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000132/0.4371, allocations: 144.1 kB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4371, allocations: 0 / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002702/0.4374, allocations: 24 kB / 1.352 GB, free: 9.105 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.0007509/0.4381, allocations: 0.7734 MB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.4384, allocations: 99.88 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4384, allocations: 0 / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.4386, allocations: 44.19 kB / 1.353 GB, free: 8.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4389, allocations: 36.97 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4414, allocations: 1.873 MB / 1.354 GB, free: 6.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4415, allocations: 102.6 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.1e-05/0.4416, allocations: 13.08 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.4417, allocations: 43.42 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.4417, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.4681, allocations: 3.072 MB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.13, allocations: 5.859 kB / 1.358 GB, free: 3.059 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.14886841108091] Failed to read output from testmodel.py, exit status != 0: 12.297744642011821 12.326840776 11.89282494 Calling exit ...