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.001556/0.001556, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001794/0.001794, allocations: 215.2 kB / 23.01 MB, free: 5.113 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.116/3.116, allocations: 0.49 GB / 0.7958 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.002035/0.002035, allocations: 64.84 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 176.1 MB / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002132/0.3081, allocations: 0.904 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3093, allocations: 0.9172 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.3094, allocations: 11.94 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.3095, allocations: 11.86 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.3095, allocations: 11.88 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.3097, allocations: 63.91 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.31, allocations: 135.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3101, allocations: 51.61 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.3102, allocations: 51.8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.3103, allocations: 59.69 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3103, allocations: 12 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.3103, allocations: 16 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.3104, allocations: 35.91 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.3104, allocations: 59.67 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3106, allocations: 147.2 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3106, allocations: 0 / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3106, allocations: 0 / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3106, allocations: 0 / 1.33 GB, free: 14.91 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.0006429/0.3113, allocations: 369.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3113, allocations: 16.03 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.3114, allocations: 16.84 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3116, allocations: 154.3 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3116, allocations: 8.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3117, allocations: 12.38 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.312, allocations: 150.1 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.312, allocations: 4.188 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.312, allocations: 11.94 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.312, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.3123, allocations: 127.9 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.3131, allocations: 463.2 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3133, allocations: 86.45 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3135, allocations: 44.83 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3135, allocations: 4.188 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3135, allocations: 34.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3135, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004723/0.314, allocations: 161.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.314, allocations: 55.41 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3142, allocations: 195.6 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3143, allocations: 25.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.3144, allocations: 119.9 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3144, allocations: 35.69 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.3144, allocations: 25.72 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3146, allocations: 326.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3147, allocations: 43.97 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3148, allocations: 43.97 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3151, allocations: 96.06 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3151, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003097/0.3154, allocations: 149.4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3154, allocations: 11.98 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3154, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3154, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3156, allocations: 23.98 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3156, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3157, allocations: 19.89 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3157, allocations: 7.984 kB / 1.332 GB, free: 11.92 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 0.0001059/0.3158, allocations: 129.7 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.3159, allocations: 11.91 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3162, allocations: 143.3 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3162, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3162, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3162, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.3168, allocations: 432 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3168, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3169, allocations: 23.92 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3169, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.317, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.317, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.317, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.3173, allocations: 246 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.3173, allocations: 23.83 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3174, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3175, allocations: 19.98 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.3175, allocations: 11.92 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.3176, allocations: 4 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001203/0.3177, allocations: 140.1 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3177, allocations: 3.938 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002511/0.3179, allocations: 24 kB / 1.333 GB, free: 10.62 MB / 1.029 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.0001452/0.3181, allocations: 107.2 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.3184, allocations: 95.86 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3184, allocations: 0 / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3185, allocations: 51.89 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3188, allocations: 17.72 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.3193, allocations: 279.6 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3196, allocations: 0.7084 MB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.3197, allocations: 19.44 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3197, allocations: 4 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of Templates: time 0.003359/0.3231, allocations: 1.564 MB / 1.336 GB, free: 7.707 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: 10.770379794004839]