Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008942/0.0008942, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002097, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007253/0.0007253, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008991/0.001624, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9315/0.9315, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09209/1.024, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.98/1.98, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5129/2.493, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7294 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.754e-05, allocations: 10.08 kB / 0.7294 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001858/0.001885, allocations: 0.9109 MB / 0.7303 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002989, allocations: 0.9334 MB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.003071, allocations: 4 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.003111, allocations: 15.8 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.003166, allocations: 6.234 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003306, allocations: 60.78 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.003512, allocations: 136 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.003668, allocations: 56.41 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.003797, allocations: 78.92 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.003868, allocations: 43.86 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.003902, allocations: 12.62 kB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.003921, allocations: 16 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.003946, allocations: 24.72 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.003988, allocations: 27.94 kB / 0.7317 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004123, allocations: 88.31 kB / 0.7317 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-05/0.00414, allocations: 0 / 0.7317 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004141, allocations: 0.5312 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.004158, allocations: 0.9375 kB / 0.7318 GB, free: 2.074 MB / 0.698 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.0005268/0.004685, allocations: 360.7 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.004718, allocations: 8.844 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.004764, allocations: 20.92 kB / 0.7321 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.005091, allocations: 159.2 kB / 0.7323 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.005105, allocations: 12.31 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.005124, allocations: 12.38 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.005347, allocations: 201.3 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005355, allocations: 192 / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.005368, allocations: 8.891 kB / 0.7325 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005376, allocations: 6.094 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.005445, allocations: 39.92 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.005894, allocations: 299.8 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.005979, allocations: 47.38 kB / 0.7329 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.006006, allocations: 14.39 kB / 0.7329 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.006028, allocations: 4 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.006052, allocations: 34.56 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.006053, allocations: 0 / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0001604/0.006214, allocations: 78.59 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.006249, allocations: 59.34 kB / 0.7331 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.006343, allocations: 149.5 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.006357, allocations: 25.7 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.00641, allocations: 115.9 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.006433, allocations: 41.42 kB / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.006474, allocations: 25.7 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.006571, allocations: 322.8 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.006595, allocations: 11.94 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.006617, allocations: 15.98 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.006676, allocations: 32.84 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006678, allocations: 1.094 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000105/0.006783, allocations: 77.66 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006796, allocations: 4 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.006801, allocations: 0.625 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.00681, allocations: 1.125 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.006937, allocations: 39.86 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.00694, allocations: 0 / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.00698, allocations: 8.672 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.006987, allocations: 0 / 0.7339 GB, free: 15.72 MB / 0.7136 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.368e-05/0.007051, allocations: 114.9 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.007077, allocations: 7.984 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.007222, allocations: 86.84 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.007226, allocations: 9.531 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.00723, allocations: 3.938 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007233, allocations: 0 / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.007505, allocations: 270.4 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007507, allocations: 0 / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.007581, allocations: 23.98 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.007596, allocations: 13.17 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.007599, allocations: 0 / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.007606, allocations: 0 / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.007608, allocations: 4 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007609, allocations: 0.7812 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.007731, allocations: 182.6 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007744, allocations: 3.938 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.007824, allocations: 16.73 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.007856, allocations: 8.734 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.007864, allocations: 8 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.689e-05/0.007891, allocations: 32.39 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007891, allocations: 0 / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001904/0.008082, allocations: 31.89 kB / 0.7347 GB, free: 14.86 MB / 0.7136 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.0001081/0.00819, allocations: 77.8 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.008295, allocations: 54.02 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.008305, allocations: 4 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.008342, allocations: 29.94 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.008555, allocations: 16 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.009104, allocations: 261 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.00915, allocations: 72.11 kB / 0.7352 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.009189, allocations: 7.25 kB / 0.7352 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.009267, allocations: 71.36 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.009268, allocations: 0 / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.003455/0.01272, allocations: 1.044 MB / 0.7363 GB, free: 13.22 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line/Buildings_12_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.070691322907805]