Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.1 MB / 0.7177 GB, free: 4.594 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002081/0.2963, allocations: 0.8904 MB / 1.177 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2974, allocations: 0.8896 MB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.2975, allocations: 4 kB / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.2975, allocations: 7.875 kB / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.2976, allocations: 11.81 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.2978, allocations: 63.91 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.298, allocations: 139.7 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2982, allocations: 53.47 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.2983, allocations: 51.78 kB / 1.178 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.2984, allocations: 67.67 kB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.2984, allocations: 20 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.211e-05/0.2985, allocations: 12 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.2985, allocations: 27.92 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.2986, allocations: 63.59 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2988, allocations: 139.4 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2988, allocations: 0 / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2988, allocations: 0 / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2988, allocations: 0 / 1.178 GB, free: 3.406 MB / 0.92 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.0006792/0.2995, allocations: 450.9 kB / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2995, allocations: 12.03 kB / 1.179 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.2996, allocations: 16.84 kB / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2998, allocations: 212.1 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2999, allocations: 8.375 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2999, allocations: 12.38 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.3002, allocations: 154.1 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.3003, allocations: 4.188 kB / 1.179 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3003, allocations: 7.938 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3003, allocations: 4 kB / 1.179 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.3006, allocations: 123.9 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.3014, allocations: 0.4884 MB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3016, allocations: 86.42 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3018, allocations: 48.83 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3018, allocations: 3.938 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3018, allocations: 34.56 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3019, allocations: 4 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004809/0.3023, allocations: 157.7 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.3024, allocations: 51.41 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3026, allocations: 195.5 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3026, allocations: 29.7 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.3027, allocations: 116 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.3028, allocations: 39.67 kB / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3028, allocations: 29.72 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.303, allocations: 326.8 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3031, allocations: 39.98 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3032, allocations: 51.84 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3035, allocations: 96.75 kB / 1.181 GB, free: 436 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3035, allocations: 4 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003266/0.3038, allocations: 145.5 kB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3039, allocations: 4 kB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3039, allocations: 0 / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3039, allocations: 4 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.304, allocations: 27.92 kB / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3041, allocations: 3.984 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3042, allocations: 23.86 kB / 1.181 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3042, allocations: 8 kB / 1.181 GB, free: 208 kB / 0.92 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 0.0001126/0.3043, allocations: 117.8 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.3044, allocations: 15.91 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.3047, allocations: 139 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3047, allocations: 4 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3048, allocations: 480 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3048, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.3054, allocations: 456.8 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3054, allocations: 3.938 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3055, allocations: 27.98 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3055, allocations: 3.938 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3055, allocations: 7.984 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3056, allocations: 4.094 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3056, allocations: 0 / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.3059, allocations: 237.9 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.306, allocations: 104.9 kB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.306, allocations: 4 kB / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3062, allocations: 11.98 kB / 1.182 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.3062, allocations: 19.86 kB / 1.182 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3062, allocations: 4 kB / 1.182 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001184/0.3064, allocations: 144.1 kB / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3064, allocations: 0 / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002464/0.3066, allocations: 24 kB / 1.182 GB, free: 14.77 MB / 0.9356 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.0001397/0.3068, allocations: 103.2 kB / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.3071, allocations: 103.9 kB / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3071, allocations: 0 / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3072, allocations: 47.91 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3075, allocations: 20.19 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.308, allocations: 275.1 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3084, allocations: 0.7123 MB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.3085, allocations: 15.44 kB / 1.184 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3085, allocations: 0 / 1.184 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.003277/0.3117, allocations: 1.568 MB / 1.185 GB, free: 11.87 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.271622377098538]