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.0009807/0.0009807, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001264/0.001264, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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.063/1.063, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 2.497/2.497, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.278e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002658/0.002691, allocations: 0.9015 MB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004167, allocations: 0.9481 MB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004277, allocations: 0 / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.992e-05/0.004337, allocations: 11.81 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.942e-05/0.004436, allocations: 3.938 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.004704, allocations: 75.77 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.004936, allocations: 131.7 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.005107, allocations: 46.28 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.005258, allocations: 79.8 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.005347, allocations: 51.86 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.005379, allocations: 12 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.204e-05/0.005401, allocations: 12 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.005439, allocations: 27.91 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.005493, allocations: 39.84 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.005665, allocations: 99.56 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.00567, allocations: 4 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005671, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005676, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 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.000537/0.006213, allocations: 340.4 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.00626, allocations: 8.625 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.006316, allocations: 20.92 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.006537, allocations: 149.5 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.006555, allocations: 12.38 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.006575, allocations: 12.38 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.006829, allocations: 200 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006839, allocations: 192 / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.006854, allocations: 8.375 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.006863, allocations: 4.375 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.006947, allocations: 43.91 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.007495, allocations: 295.8 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.007596, allocations: 54.55 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.007629, allocations: 12.86 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.007648, allocations: 4 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.007675, allocations: 34.56 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.007676, allocations: 4 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.000186/0.007862, allocations: 69.8 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.007894, allocations: 59.34 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.008001, allocations: 132.5 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.008016, allocations: 33.7 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.008084, allocations: 127.8 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.008108, allocations: 31.69 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.008168, allocations: 29.7 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.008266, allocations: 322.8 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.008297, allocations: 12 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.008326, allocations: 23.19 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.372e-05/0.008399, allocations: 36.81 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008402, allocations: 0 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001184/0.00852, allocations: 69.67 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.008537, allocations: 8 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008541, allocations: 0 / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.008556, allocations: 0 / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.008689, allocations: 35.86 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.008692, allocations: 0 / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.008743, allocations: 15.88 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.008751, allocations: 0 / 0.8432 GB, free: 9.305 MB / 0.8073 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 8.503e-05/0.008836, allocations: 117.8 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.008872, allocations: 11.98 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.009021, allocations: 82.38 kB / 0.8434 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009023, allocations: 0 / 0.8434 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.009026, allocations: 3.938 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.009031, allocations: 3.984 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.009363, allocations: 269.2 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.009368, allocations: 4 kB / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.009447, allocations: 20.08 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.009451, allocations: 4 kB / 0.8437 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.009459, allocations: 3.938 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.009463, allocations: 4 kB / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.009465, allocations: 0 / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.009618, allocations: 182.5 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.009634, allocations: 11.89 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.00965, allocations: 7.922 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.009744, allocations: 12 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.009782, allocations: 11.92 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.00979, allocations: 4 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.009827, allocations: 35.33 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009827, allocations: 0 / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002457/0.01007, allocations: 27.95 kB / 0.844 GB, free: 8.434 MB / 0.8073 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.0001221/0.01019, allocations: 80.41 kB / 0.844 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01032, allocations: 48.81 kB / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.01032, allocations: 0 / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.01037, allocations: 32.72 kB / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.0106, allocations: 24.09 kB / 0.8441 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.01106, allocations: 251.9 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.01111, allocations: 71.33 kB / 0.8445 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.01116, allocations: 4.5 kB / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.01125, allocations: 75.36 kB / 0.8445 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.01125, allocations: 0 / 0.8445 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.006561/0.01781, allocations: 1.004 MB / 0.8455 GB, free: 6.793 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.463244533631951]