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.001344/0.001344, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001514/0.001514, allocations: 177 kB / 23.36 MB, free: 1.125 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 0.9371/0.9371, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.402/2.402, allocations: 438.8 MB / 0.6826 GB, free: 13.64 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 1.523e-06/1.523e-06, allocations: 0 / 0.8387 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.376e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001254/0.001268, allocations: 0.869 MB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.002147, allocations: 0.9365 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.002221, allocations: 7.938 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.002251, allocations: 7.875 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.002323, allocations: 11.81 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.002479, allocations: 67.83 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.002632, allocations: 135.7 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.002749, allocations: 54.28 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.002833, allocations: 71.8 kB / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.002885, allocations: 47.86 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.002915, allocations: 16 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.002931, allocations: 12 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.002956, allocations: 27.91 kB / 0.8409 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.002988, allocations: 43.84 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003099, allocations: 95.56 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.0031, allocations: 0 / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003101, allocations: 0 / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.003104, allocations: 0 / 0.841 GB, free: 11.77 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.0003385/0.003442, allocations: 340.4 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.003476, allocations: 12.62 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.003512, allocations: 24.92 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.003655, allocations: 149.5 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.003666, allocations: 8.375 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.003683, allocations: 16.38 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.003849, allocations: 200 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.003856, allocations: 192 / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.003871, allocations: 8.375 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.003877, allocations: 4.375 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.003928, allocations: 43.84 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.004391, allocations: 295.8 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.004478, allocations: 54.53 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.004508, allocations: 21.05 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.004525, allocations: 7.938 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.004546, allocations: 34.56 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.004548, allocations: 0 / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001356/0.004683, allocations: 69.61 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.004708, allocations: 55.34 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.004786, allocations: 140.7 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.004797, allocations: 25.7 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.004862, allocations: 127.8 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.004883, allocations: 35.69 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.00492, allocations: 25.7 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.004996, allocations: 326.8 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.005014, allocations: 8 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.005034, allocations: 11.98 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.005084, allocations: 36.83 kB / 0.843 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005086, allocations: 0 / 0.843 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.1e-05/0.005167, allocations: 77.61 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.00518, allocations: 4 kB / 0.8431 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.005186, allocations: 0 / 0.8431 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.005201, allocations: 11.92 kB / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.005288, allocations: 19.94 kB / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005292, allocations: 0 / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.005329, allocations: 19.88 kB / 0.8431 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.005336, allocations: 4 kB / 0.8431 GB, free: 9.418 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 6.378e-05/0.0054, allocations: 113.8 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.00542, allocations: 15.98 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.567e-05/0.005516, allocations: 74.81 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005518, allocations: 0 / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.00552, allocations: 3.938 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005522, allocations: 0 / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.005732, allocations: 273.2 kB / 0.8436 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.005735, allocations: 0 / 0.8436 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.005785, allocations: 19.98 kB / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.005787, allocations: 0 / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.005795, allocations: 7.938 kB / 0.8436 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.005799, allocations: 8.016 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.005802, allocations: 7.984 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.697e-05/0.005899, allocations: 182.1 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.005912, allocations: 11.89 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.005924, allocations: 11.92 kB / 0.8438 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.005977, allocations: 12.03 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.00601, allocations: 7.984 kB / 0.8438 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.006017, allocations: 8 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.984e-05/0.006037, allocations: 23.19 kB / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006037, allocations: 0 / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001319/0.006169, allocations: 27.95 kB / 0.8439 GB, free: 8.555 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 6.985e-05/0.006238, allocations: 83.78 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.111e-05/0.006319, allocations: 48.77 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.006323, allocations: 4 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.006349, allocations: 28.78 kB / 0.844 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.006485, allocations: 12 kB / 0.8441 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.006785, allocations: 255.9 kB / 0.8443 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.006821, allocations: 71.33 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.006847, allocations: 4.5 kB / 0.8444 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.006912, allocations: 75.48 kB / 0.8444 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.006913, allocations: 4 kB / 0.8444 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.002548/0.00946, allocations: 0.9907 MB / 0.8454 GB, free: 6.926 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 -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.271510798018426]