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.00191/0.00191, allocations: 78.73 kB / 19.18 MB, free: 2.516 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.002752/0.002752, allocations: 164 kB / 22.46 MB, free: 5.375 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.6/1.6, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.854/2.854, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/3.969e-05, allocations: 2.281 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002265/0.002305, allocations: 0.8412 MB / 0.9519 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.004031, allocations: 0.921 MB / 0.9528 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004163, allocations: 11.94 kB / 0.9528 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.004218, allocations: 7.875 kB / 0.9528 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004319, allocations: 7.875 kB / 0.9528 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.004629, allocations: 71.89 kB / 0.9529 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.004922, allocations: 139.7 kB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.005165, allocations: 41.64 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.005329, allocations: 67.88 kB / 0.9531 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.005419, allocations: 47.86 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.005467, allocations: 16 kB / 0.9532 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.005494, allocations: 12 kB / 0.9532 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.005539, allocations: 35.84 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.005617, allocations: 39.89 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.005859, allocations: 151.4 kB / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.005863, allocations: 0 / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.457e-06/0.005867, allocations: 4 kB / 0.9534 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.005879, allocations: 0 / 0.9534 GB, free: 9.105 MB / 0.8575 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.0008449/0.006724, allocations: 365.8 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.006773, allocations: 12.02 kB / 0.9537 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.006839, allocations: 24.78 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.007183, allocations: 152.7 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.007203, allocations: 8.375 kB / 0.9539 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.007237, allocations: 16.38 kB / 0.9539 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.007699, allocations: 223.3 kB / 0.9542 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.007711, allocations: 192 / 0.9542 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.007734, allocations: 4.375 kB / 0.9542 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007741, allocations: 4.375 kB / 0.9542 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.008097, allocations: 135.8 kB / 0.9543 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.009002, allocations: 396 kB / 0.9547 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.009234, allocations: 74.53 kB / 0.9547 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.009369, allocations: 44.83 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.009399, allocations: 8 kB / 0.9548 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.009432, allocations: 34.69 kB / 0.9548 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.009434, allocations: 3.938 kB / 0.9548 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005282/0.009962, allocations: 157.5 kB / 0.955 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.01001, allocations: 55.41 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.01017, allocations: 141.8 kB / 0.9552 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.0102, allocations: 29.7 kB / 0.9552 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.01029, allocations: 119.9 kB / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.01034, allocations: 43.62 kB / 0.9554 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.0104, allocations: 29.72 kB / 0.9554 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.01058, allocations: 322.8 kB / 0.9557 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.01072, allocations: 39.97 kB / 0.9557 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01084, allocations: 39.97 kB / 0.9558 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.01111, allocations: 88.83 kB / 0.9558 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01111, allocations: 0 / 0.9558 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003431/0.01146, allocations: 145.5 kB / 0.956 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.01149, allocations: 13.97 kB / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0115, allocations: 0 / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01152, allocations: 384 / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.01169, allocations: 23.98 kB / 0.956 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.0117, allocations: 0 / 0.956 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.0118, allocations: 11.94 kB / 0.956 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01181, allocations: 7.938 kB / 0.956 GB, free: 6.195 MB / 0.8575 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.0001286/0.01194, allocations: 128.3 kB / 0.9562 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.01199, allocations: 11.95 kB / 0.9562 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.01246, allocations: 138.3 kB / 0.9563 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.01246, allocations: 3.938 kB / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01247, allocations: 0 / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.01248, allocations: 3.984 kB / 0.9563 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.01316, allocations: 384.5 kB / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.01316, allocations: 0 / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01328, allocations: 19.98 kB / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.01328, allocations: 7.938 kB / 0.9567 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.0133, allocations: 4 kB / 0.9567 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.0133, allocations: 4 kB / 0.9567 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.01331, allocations: 3.984 kB / 0.9567 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.01373, allocations: 230.6 kB / 0.9569 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.01376, allocations: 24.03 kB / 0.957 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01378, allocations: 7.938 kB / 0.957 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.01393, allocations: 11.98 kB / 0.957 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.01399, allocations: 11.98 kB / 0.957 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.014, allocations: 4 kB / 0.957 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001027/0.0141, allocations: 107.3 kB / 0.9571 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.0141, allocations: 0 / 0.9571 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002687/0.01437, allocations: 27.89 kB / 0.9571 GB, free: 5 MB / 0.8575 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.0001771/0.01455, allocations: 111.2 kB / 0.9572 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.01489, allocations: 87.89 kB / 0.9573 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.0149, allocations: 0 / 0.9573 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01504, allocations: 47.91 kB / 0.9574 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01538, allocations: 21.83 kB / 0.9574 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.01599, allocations: 248.5 kB / 0.9576 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.01611, allocations: 94.23 kB / 0.9577 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.67e-05/0.01617, allocations: 16.34 kB / 0.9577 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.01622, allocations: 12.5 kB / 0.9577 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.01622, allocations: 0 / 0.9577 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Templates: time 0.004292/0.02051, allocations: 0.9904 MB / 0.9587 GB, free: 3.332 MB / 0.8575 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/jenkins/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: 8.331214889883995]