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.001614/0.001614, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001626/0.001626, allocations: 212.1 kB / 23 MB, free: 4.969 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.319/3.319, allocations: 0.49 GB / 0.7959 GB, free: 35.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002045/0.002045, allocations: 68.58 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.384, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00258/0.3866, allocations: 0.8517 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3879, allocations: 0.9095 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.388, allocations: 7.938 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.388, allocations: 7.875 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.3881, allocations: 11.81 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3883, allocations: 67.89 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3885, allocations: 135.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3887, allocations: 49.64 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.3888, allocations: 55.78 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.3889, allocations: 63.69 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.3889, allocations: 12 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.3889, allocations: 12 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.389, allocations: 35.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.389, allocations: 47.78 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3892, allocations: 151.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3892, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3892, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3893, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 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.0007609/0.39, allocations: 361.8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3901, allocations: 12.03 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3901, allocations: 16.84 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3904, allocations: 154.3 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3905, allocations: 8.375 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.3905, allocations: 16.38 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.3909, allocations: 239.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3909, allocations: 4.188 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3909, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3909, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.3913, allocations: 123.9 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.392, allocations: 388 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3922, allocations: 78.48 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3923, allocations: 48.83 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3924, allocations: 3.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3924, allocations: 34.56 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3924, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000475/0.3929, allocations: 153.7 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3929, allocations: 59.41 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3931, allocations: 139.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3931, allocations: 33.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.3932, allocations: 119.9 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3932, allocations: 35.69 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.3933, allocations: 29.72 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3934, allocations: 319.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3935, allocations: 43.97 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3937, allocations: 42.09 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.3939, allocations: 96.77 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3939, allocations: 3.938 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003214/0.3942, allocations: 148.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3942, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3942, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3942, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3944, allocations: 27.98 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3944, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.3945, allocations: 19.81 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3945, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 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 9.99e-05/0.3946, allocations: 117.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.3947, allocations: 11.89 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.395, allocations: 134.3 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.395, allocations: 7.984 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.395, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.3951, allocations: 15.89 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3951, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3952, allocations: 11.98 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.3952, allocations: 11.98 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003869/0.3956, allocations: 204.8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003633/0.396, allocations: 294.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00012/0.3961, allocations: 44.19 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.395e-05/0.3962, allocations: 121.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.3962, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.3967, allocations: 130.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007096/0.3974, allocations: 0.6636 MB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of Templates: time 0.004545/0.402, allocations: 1.559 MB / 1.335 GB, free: 8.203 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.518183375002991]