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.001976/0.001976, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.001999/0.001999, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.516/1.516, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.844/2.844, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 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.002217/0.002217, allocations: 63.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.015, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001966/1.017, allocations: 0.8404 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009418/1.018, allocations: 0.9113 MB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/1.018, allocations: 6.688 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/1.018, allocations: 15.09 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/1.018, allocations: 11.88 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/1.018, allocations: 67.23 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/1.018, allocations: 138.3 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/1.018, allocations: 48.33 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/1.018, allocations: 56.41 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/1.018, allocations: 49.22 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/1.018, allocations: 15.09 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/1.018, allocations: 11.78 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/1.018, allocations: 32.53 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/1.018, allocations: 47.38 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/1.019, allocations: 143 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.019, allocations: 0 / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.813e-06/1.019, allocations: 3.938 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.019, allocations: 0 / 1.156 GB, free: 31.8 MB / 1.076 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.0005711/1.019, allocations: 374 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/1.019, allocations: 10.97 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/1.019, allocations: 16.94 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/1.02, allocations: 157.1 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/1.02, allocations: 10.25 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/1.02, allocations: 16.62 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/1.02, allocations: 235.4 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.02, allocations: 192 / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/1.02, allocations: 7.938 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.02, allocations: 5.781 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/1.02, allocations: 122.4 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/1.021, allocations: 393.8 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/1.021, allocations: 78.41 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/1.021, allocations: 42.55 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/1.021, allocations: 6.812 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/1.021, allocations: 33.56 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/1.021, allocations: 0 / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0004297/1.022, allocations: 156 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/1.022, allocations: 55.41 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/1.022, allocations: 139.5 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/1.022, allocations: 32.45 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/1.022, allocations: 123.9 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.022, allocations: 33.52 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/1.022, allocations: 29.84 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/1.022, allocations: 321 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.022, allocations: 42.42 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/1.022, allocations: 45.59 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.022, allocations: 93.77 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.022, allocations: 384 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002669/1.023, allocations: 145.9 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.023, allocations: 5.688 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.023, allocations: 0 / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.023, allocations: 3.938 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.023, allocations: 38.67 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.023, allocations: 0 / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.791e-05/1.023, allocations: 9.859 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/1.023, allocations: 6.844 kB / 1.159 GB, free: 29.77 MB / 1.076 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 6.512e-05/1.023, allocations: 122.8 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/1.023, allocations: 13.55 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/1.023, allocations: 132.1 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.023, allocations: 3.219 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.023, allocations: 4 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.023, allocations: 0 / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/1.024, allocations: 386.9 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.024, allocations: 0 / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.024, allocations: 23.23 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.024, allocations: 0 / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/1.024, allocations: 6.969 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.024, allocations: 6.969 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.024, allocations: 0 / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/1.024, allocations: 239.6 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/1.024, allocations: 6.891 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/1.024, allocations: 2.594 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.024, allocations: 18.91 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/1.024, allocations: 12.84 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.024, allocations: 6.375 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.058e-05/1.024, allocations: 119.6 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 0 / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002501/1.025, allocations: 30.95 kB / 1.16 GB, free: 28.94 MB / 1.076 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 8.878e-05/1.025, allocations: 94.97 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002819/1.025, allocations: 93.3 kB / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.025, allocations: 0 / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/1.025, allocations: 58.59 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.025, allocations: 9.188 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/1.026, allocations: 251.2 kB / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/1.026, allocations: 102.3 kB / 1.161 GB, free: 28.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.277e-05/1.026, allocations: 12.8 kB / 1.161 GB, free: 28.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/1.026, allocations: 16.59 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.026, allocations: 0 / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of Templates: time 0.003641/1.03, allocations: 0.9738 MB / 1.162 GB, free: 28.36 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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.033454491058365]