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.001387/0.001387, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001487/0.001487, allocations: 219.4 kB / 23 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.805/2.805, allocations: 476 MB / 0.7707 GB, free: 4.723 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.002119/0.002119, allocations: 69.28 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3197, allocations: 170 MB / 1.284 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00237/0.322, allocations: 0.8481 MB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3234, allocations: 0.9095 MB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3235, allocations: 7.938 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.3235, allocations: 15.8 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.3236, allocations: 7.875 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.3239, allocations: 71.91 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.3241, allocations: 135.7 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.3243, allocations: 37.67 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.3244, allocations: 59.77 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.3245, allocations: 55.69 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.3245, allocations: 12 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.3245, allocations: 19.94 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.3246, allocations: 31.91 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.3246, allocations: 47.73 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3248, allocations: 143.4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3248, allocations: 3.938 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3248, allocations: 0 / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3249, allocations: 0 / 1.286 GB, free: 9.434 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.0006725/0.3255, allocations: 373.8 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3256, allocations: 8.031 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.3256, allocations: 16.84 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.326, allocations: 151.2 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.326, allocations: 8.375 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.326, allocations: 20.31 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.3264, allocations: 223.8 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3264, allocations: 4.172 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3264, allocations: 7.938 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3264, allocations: 4 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.3267, allocations: 120.5 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.3275, allocations: 396 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3277, allocations: 82.47 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3278, allocations: 40.84 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3279, allocations: 11.92 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.3279, allocations: 30.56 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3279, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004789/0.3284, allocations: 153.7 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3284, allocations: 55.41 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3286, allocations: 148 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3286, allocations: 29.7 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.3287, allocations: 119.9 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3287, allocations: 35.69 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.3288, allocations: 30.08 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3289, allocations: 318.8 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3291, allocations: 39.91 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3292, allocations: 43.97 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3294, allocations: 102.5 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3294, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003265/0.3297, allocations: 140.5 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3298, allocations: 8 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3298, allocations: 3.984 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3298, allocations: 3.984 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.33, allocations: 31.92 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.33, allocations: 4 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.092e-05/0.33, allocations: 11.89 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3301, allocations: 4 kB / 1.289 GB, free: 6.523 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.0001145/0.3302, allocations: 121.8 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3302, allocations: 19.83 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.3306, allocations: 134.3 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3306, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3306, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3306, allocations: 4 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.3311, allocations: 388.5 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3312, allocations: 4 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3313, allocations: 19.98 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3313, allocations: 4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3313, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3313, allocations: 4 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3313, allocations: 4.094 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.3316, allocations: 243.7 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.3316, allocations: 7.953 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3317, allocations: 7.938 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3318, allocations: 15.98 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3318, allocations: 7.984 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3319, allocations: 11.92 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.586e-05/0.3319, allocations: 109.1 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3319, allocations: 4.188 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002513/0.3322, allocations: 31.89 kB / 1.29 GB, free: 5.32 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.0001337/0.3323, allocations: 102.5 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3326, allocations: 91.88 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3326, allocations: 0 / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3328, allocations: 56.09 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.333, allocations: 12 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.3336, allocations: 275.3 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.392e-05/0.3337, allocations: 90.28 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.3337, allocations: 19.44 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3337, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of Templates: time 0.003141/0.3369, allocations: 1.456 MB / 1.292 GB, free: 3.156 MB / 0.9825 GB " [Timeout remaining time 299] 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: 11.021798308938742]