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.0007642/0.0007642, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001826, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006809/0.0006809, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008818/0.001563, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9881/0.9881, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09785/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.953/1.953, allocations: 378.3 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5178/2.471, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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 3.606e-06/3.606e-06, allocations: 4.766 kB / 0.7297 GB, free: 4.344 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.785e-05, allocations: 3.797 kB / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002059/0.002087, allocations: 0.9196 MB / 0.7306 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003364, allocations: 0.9386 MB / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.003448, allocations: 4.688 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.003486, allocations: 11.81 kB / 0.7315 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.003539, allocations: 8.125 kB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.003667, allocations: 59.91 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.003837, allocations: 139.2 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.003982, allocations: 50.12 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.004101, allocations: 85.11 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.004164, allocations: 43.86 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.004191, allocations: 12 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.004207, allocations: 12 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.004233, allocations: 23.94 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.004262, allocations: 31.88 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.004389, allocations: 79.67 kB / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.004403, allocations: 4.5 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.004405, allocations: 0.7812 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.004416, allocations: 0 / 0.7321 GB, free: 1.973 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.0004666/0.004883, allocations: 361.5 kB / 0.7324 GB, free: 1.594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.004914, allocations: 8.031 kB / 0.7324 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.004956, allocations: 21.45 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.005118, allocations: 155 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.005129, allocations: 12.38 kB / 0.7326 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.005145, allocations: 13.41 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.005338, allocations: 196 kB / 0.7328 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005345, allocations: 0.6875 kB / 0.7328 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005355, allocations: 4.375 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.005361, allocations: 5.969 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.005418, allocations: 43.91 kB / 0.7329 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.005807, allocations: 292.5 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.005887, allocations: 55.8 kB / 0.7332 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.005911, allocations: 12.86 kB / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.00593, allocations: 8 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.00595, allocations: 36.17 kB / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.005951, allocations: 0 / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0001318/0.006083, allocations: 70.08 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.00611, allocations: 59.34 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.006186, allocations: 141 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.006202, allocations: 29.7 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.006266, allocations: 119.8 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.006285, allocations: 35.69 kB / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.00632, allocations: 30.3 kB / 0.7337 GB, free: 152 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.006406, allocations: 318.8 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.006426, allocations: 13.11 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.006447, allocations: 15.94 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.006501, allocations: 44.81 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.006504, allocations: 0.9375 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.503e-05/0.006589, allocations: 72.92 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006601, allocations: 7.75 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.006609, allocations: 4 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.006622, allocations: 0.625 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.006735, allocations: 35.86 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.00674, allocations: 0.9062 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.006772, allocations: 7.953 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.006779, allocations: 0.5625 kB / 0.7342 GB, free: 15.63 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.259e-05/0.006841, allocations: 115.3 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.006862, allocations: 11.98 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.006976, allocations: 86.34 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.006979, allocations: 4 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.006982, allocations: 5.281 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.006987, allocations: 3.984 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.007215, allocations: 266.5 kB / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007217, allocations: 0 / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.007276, allocations: 27.92 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.007288, allocations: 13.14 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.00729, allocations: 0 / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.0073, allocations: 11.98 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007301, allocations: 0.9062 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.007303, allocations: 0 / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.007406, allocations: 178.6 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.007418, allocations: 7.938 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.007472, allocations: 13.08 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.007499, allocations: 7.984 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.007506, allocations: 8.844 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.007526, allocations: 20.84 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007526, allocations: 1.219 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001319/0.007658, allocations: 31.89 kB / 0.735 GB, free: 14.76 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.0001066/0.007765, allocations: 88.92 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.217e-05/0.007857, allocations: 49.58 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.007867, allocations: 3.984 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.00791, allocations: 33.48 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.008101, allocations: 55.59 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.008605, allocations: 268.3 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.008649, allocations: 64.62 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.008682, allocations: 8.484 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.008755, allocations: 71.36 kB / 0.7356 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/0.008756, allocations: 2.438 kB / 0.7356 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.0028/0.01156, allocations: 1.041 MB / 0.7366 GB, free: 13.07 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.012469124048948]