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.0008495/0.0008495, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002199, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008055/0.0008055, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001907, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.999/0.999, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0894/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.344/2.344, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2422/2.586, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.814e-06/1.814e-06, allocations: 0 / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.377e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001766/0.00178, allocations: 0.9079 MB / 0.8193 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002886, allocations: 0.9404 MB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.002957, allocations: 0 / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.002999, allocations: 15.8 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.003051, allocations: 15.81 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.003203, allocations: 63.84 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.003402, allocations: 127.8 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.00356, allocations: 54.23 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.003695, allocations: 83.8 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.00377, allocations: 39.86 kB / 0.8206 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.003807, allocations: 16 kB / 0.8206 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.003936, allocations: 16 kB / 0.8206 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.003965, allocations: 23.88 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.004013, allocations: 27.94 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.004157, allocations: 83.62 kB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.004173, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004174, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.004192, allocations: 3.984 kB / 0.8207 GB, free: 408 kB / 0.7917 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.0005551/0.004747, allocations: 352.2 kB / 0.8211 GB, free: 28 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.004787, allocations: 16.62 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.004856, allocations: 20.98 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.005064, allocations: 157.4 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005079, allocations: 8.375 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.005101, allocations: 16.38 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.005342, allocations: 196 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.005351, allocations: 192 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.005368, allocations: 8.375 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.005374, allocations: 384 / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.005459, allocations: 51.84 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.005982, allocations: 295.8 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.006076, allocations: 46.55 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.006108, allocations: 16.86 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.006131, allocations: 0 / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.006169, allocations: 42.69 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.00617, allocations: 3.938 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001751/0.006345, allocations: 69.67 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.00638, allocations: 63.27 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.006477, allocations: 142.6 kB / 0.8222 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.006491, allocations: 25.7 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.006555, allocations: 123.8 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.00658, allocations: 35.69 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.006626, allocations: 25.7 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.006718, allocations: 322.8 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.006746, allocations: 12 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.006773, allocations: 11.98 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.006837, allocations: 36.83 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006839, allocations: 4 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001092/0.006948, allocations: 71.23 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.006963, allocations: 10.02 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006967, allocations: 0 / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.006978, allocations: 4 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.007113, allocations: 31.92 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007116, allocations: 0 / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.007164, allocations: 7.953 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.007173, allocations: 4 kB / 0.8229 GB, free: 14.04 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.986e-05/0.007243, allocations: 113.8 kB / 0.823 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.007277, allocations: 15.92 kB / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.007417, allocations: 82.38 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007419, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.007421, allocations: 3.938 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007424, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.007729, allocations: 265.2 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.007732, allocations: 4 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.007813, allocations: 19.98 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.007831, allocations: 15.97 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.007834, allocations: 4 kB / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007841, allocations: 4 kB / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.007843, allocations: 0 / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.007848, allocations: 7.938 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.008, allocations: 178.1 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.008019, allocations: 15.88 kB / 0.8236 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.008108, allocations: 4 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.008141, allocations: 11.92 kB / 0.8236 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.00815, allocations: 8 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.008185, allocations: 36.81 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008185, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002338/0.008419, allocations: 27.89 kB / 0.8236 GB, free: 13.15 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 8.174e-05/0.008501, allocations: 76.42 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.008613, allocations: 56.77 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.008621, allocations: 0 / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.008662, allocations: 28.78 kB / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.008885, allocations: 20.19 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.009468, allocations: 268 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.939e-05/0.009517, allocations: 71.33 kB / 0.8241 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.009558, allocations: 4.5 kB / 0.8241 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.009645, allocations: 71.36 kB / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.009646, allocations: 0 / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.00338/0.01303, allocations: 1.05 MB / 0.8252 GB, free: 11.46 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.ref.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.038542744703591]