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.001501/0.001501, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001616/0.001616, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.969e-05/4.302e-05, allocations: 9.031 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.0033/0.003343, allocations: 0.8446 MB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.005458, allocations: 0.921 MB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.005574, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.005641, allocations: 11.81 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.005763, allocations: 15.88 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.006126, allocations: 67.83 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.006462, allocations: 135.7 kB / 0.9834 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.006714, allocations: 49.58 kB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.006908, allocations: 71.88 kB / 0.9836 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.007023, allocations: 43.86 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.007078, allocations: 12 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.007115, allocations: 12 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.007174, allocations: 35.84 kB / 0.9837 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.007252, allocations: 43.89 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.007557, allocations: 151.5 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.007563, allocations: 3.938 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.007565, allocations: 0 / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.007576, allocations: 0 / 0.9838 GB, free: 9.469 MB / 0.9356 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.001/0.008576, allocations: 361.8 kB / 0.9842 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.008629, allocations: 12.02 kB / 0.9842 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.0087, allocations: 16.84 kB / 0.9842 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.009122, allocations: 165.5 kB / 0.9844 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.009138, allocations: 12.38 kB / 0.9844 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.009175, allocations: 12.38 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.009795, allocations: 227.8 kB / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.009811, allocations: 192 / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.009846, allocations: 8.375 kB / 0.9846 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.009858, allocations: 4.375 kB / 0.9846 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.01042, allocations: 131.9 kB / 0.9848 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.01165, allocations: 388 kB / 0.9851 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.012, allocations: 74.55 kB / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.01224, allocations: 44.83 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.01227, allocations: 0 / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.01233, allocations: 34.75 kB / 0.9853 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.01233, allocations: 4 kB / 0.9853 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0008451/0.01317, allocations: 153.5 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.01323, allocations: 63.28 kB / 0.9855 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.01347, allocations: 152 kB / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.01351, allocations: 29.7 kB / 0.9857 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.01364, allocations: 119.9 kB / 0.9858 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.0137, allocations: 35.69 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.0138, allocations: 25.72 kB / 0.9858 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.01401, allocations: 326.8 kB / 0.9861 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.01425, allocations: 43.97 kB / 0.9862 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.01447, allocations: 39.97 kB / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.01492, allocations: 90.2 kB / 0.9863 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01492, allocations: 0 / 0.9863 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005901/0.01551, allocations: 157.1 kB / 0.9865 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.01554, allocations: 7.938 kB / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01555, allocations: 3.938 kB / 0.9865 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.01557, allocations: 3.984 kB / 0.9865 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.01585, allocations: 23.98 kB / 0.9865 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.01585, allocations: 0 / 0.9865 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.01603, allocations: 15.98 kB / 0.9865 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01604, allocations: 0 / 0.9865 GB, free: 6.551 MB / 0.9356 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.0001648/0.01621, allocations: 125.8 kB / 0.9866 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.01627, allocations: 11.95 kB / 0.9866 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.01687, allocations: 138.3 kB / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01687, allocations: 0 / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01688, allocations: 0 / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.01689, allocations: 3.984 kB / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.01791, allocations: 380.5 kB / 0.9871 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.01792, allocations: 4.094 kB / 0.9871 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.01812, allocations: 23.98 kB / 0.9872 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01812, allocations: 0 / 0.9872 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.01814, allocations: 4 kB / 0.9872 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.01815, allocations: 3.938 kB / 0.9872 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.01816, allocations: 3.984 kB / 0.9872 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.01877, allocations: 241.9 kB / 0.9874 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.0188, allocations: 11.94 kB / 0.9874 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.01883, allocations: 4 kB / 0.9874 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.01907, allocations: 15.98 kB / 0.9874 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.01913, allocations: 11.92 kB / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.01915, allocations: 8 kB / 0.9875 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01927, allocations: 109.9 kB / 0.9876 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01927, allocations: 0 / 0.9876 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004993/0.01977, allocations: 27.89 kB / 0.9876 GB, free: 5.359 MB / 0.9356 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.0001933/0.01997, allocations: 103.2 kB / 0.9877 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.0205, allocations: 96.08 kB / 0.9878 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.0205, allocations: 3.938 kB / 0.9878 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.02074, allocations: 43.91 kB / 0.9878 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.02124, allocations: 23.86 kB / 0.9879 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.02201, allocations: 241 kB / 0.9881 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.02217, allocations: 98.47 kB / 0.9882 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.057e-05/0.02225, allocations: 8.484 kB / 0.9882 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.02232, allocations: 16.5 kB / 0.9882 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.02232, allocations: 0 / 0.9882 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of Templates: time 0.006548/0.02887, allocations: 0.9867 MB / 0.9892 GB, free: 3.691 MB / 0.9356 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/jenkins/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: 8.322287231683731]