Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00172/0.00172, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002104/0.002104, allocations: 216.5 kB / 23.01 MB, free: 5.125 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7714 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 64.55 kB / 1.119 GB, free: 39.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 170 MB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002227/0.2891, allocations: 0.9063 MB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2904, allocations: 0.9173 MB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.2904, allocations: 7.938 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.2905, allocations: 7.875 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.2906, allocations: 11.88 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2908, allocations: 71.84 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.291, allocations: 135.8 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2912, allocations: 52.06 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.2913, allocations: 55.84 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.2914, allocations: 59.69 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.2914, allocations: 12 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.2914, allocations: 12 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.2915, allocations: 31.91 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.2915, allocations: 63.61 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2917, allocations: 135.4 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2917, allocations: 4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2917, allocations: 4 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2917, allocations: 0 / 1.287 GB, free: 8.312 MB / 0.9825 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.0006615/0.2924, allocations: 373.8 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2924, allocations: 8.031 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.2925, allocations: 16.84 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.2927, allocations: 156 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2928, allocations: 12.38 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.2928, allocations: 12.38 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.2931, allocations: 150.7 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2931, allocations: 8.172 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2932, allocations: 15.88 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2932, allocations: 3.938 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2935, allocations: 131.9 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.2943, allocations: 455.3 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.2945, allocations: 82.47 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2946, allocations: 56.89 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2946, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2946, allocations: 34.56 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.2947, allocations: 0 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004771/0.2951, allocations: 157.5 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2952, allocations: 51.41 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2954, allocations: 195.6 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2954, allocations: 25.7 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.2955, allocations: 124 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.2955, allocations: 35.69 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.2956, allocations: 25.72 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2957, allocations: 326.8 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2958, allocations: 35.98 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.296, allocations: 47.97 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.2962, allocations: 98.38 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2962, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003336/0.2965, allocations: 149.5 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2966, allocations: 4 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2966, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2966, allocations: 8 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2967, allocations: 23.98 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2967, allocations: 0 / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2968, allocations: 19.88 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.2969, allocations: 4 kB / 1.29 GB, free: 5.332 MB / 0.9825 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.00012/0.297, allocations: 125.7 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.297, allocations: 15.91 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.2974, allocations: 143.3 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2974, allocations: 4 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2974, allocations: 0 / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2974, allocations: 0 / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.298, allocations: 428 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.298, allocations: 8.031 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.2982, allocations: 23.92 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2982, allocations: 0 / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2982, allocations: 4 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2982, allocations: 0 / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2982, allocations: 7.922 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.2985, allocations: 243.6 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.2986, allocations: 23.89 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2986, allocations: 0 / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2987, allocations: 19.98 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2988, allocations: 11.92 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2988, allocations: 8 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001363/0.2989, allocations: 145.8 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2989, allocations: 0 / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002593/0.2992, allocations: 24 kB / 1.291 GB, free: 4.02 MB / 0.9825 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.000136/0.2993, allocations: 103.2 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.2996, allocations: 93.5 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2996, allocations: 4 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2998, allocations: 47.91 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3001, allocations: 12 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.3006, allocations: 283.5 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.301, allocations: 0.7045 MB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.301, allocations: 23.38 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.301, allocations: 0 / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.003414/0.3044, allocations: 1.568 MB / 1.294 GB, free: 1.117 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.90055609299452]