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.0013/0.0013, allocations: 80.39 kB / 21.47 MB, free: 3.023 MB / 18.57 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.00142/0.00142, allocations: 169.3 kB / 24.87 MB, free: 8.898 MB / 18.57 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.016/1.016, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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 3.827e-06/3.827e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.729e-05, allocations: 4.562 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.0023/0.002338, allocations: 0.873 MB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.003738, allocations: 0.9416 MB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003846, allocations: 7.938 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.12e-05/0.003897, allocations: 8.875 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.004015, allocations: 7.875 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.004284, allocations: 72.42 kB / 0.7903 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.004566, allocations: 140.4 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.004787, allocations: 37.64 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.004997, allocations: 76.56 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.005084, allocations: 39.88 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.005124, allocations: 13.09 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.005148, allocations: 16 kB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.005198, allocations: 35.89 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.005259, allocations: 42.61 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.005458, allocations: 103.6 kB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.005463, allocations: 0 / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.005465, allocations: 0 / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.005472, allocations: 0 / 0.7907 GB, free: 9.746 MB / 0.7448 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.0006794/0.006152, allocations: 461.5 kB / 0.7912 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.006208, allocations: 8.031 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.006282, allocations: 28.84 kB / 0.7912 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.006546, allocations: 157 kB / 0.7914 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.006565, allocations: 9.25 kB / 0.7914 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.006593, allocations: 16.36 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.006896, allocations: 200.8 kB / 0.7916 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.006908, allocations: 192 / 0.7916 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.00693, allocations: 5.906 kB / 0.7916 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.00694, allocations: 4.375 kB / 0.7916 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.007038, allocations: 51.84 kB / 0.7916 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.007722, allocations: 401 kB / 0.792 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.007855, allocations: 63.58 kB / 0.7921 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.0079, allocations: 23.86 kB / 0.7921 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.007926, allocations: 6.469 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.007955, allocations: 37.39 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.007958, allocations: 0 / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003413/0.008299, allocations: 93.45 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.008341, allocations: 55.41 kB / 0.7923 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.008481, allocations: 191.4 kB / 0.7925 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.008499, allocations: 26.23 kB / 0.7925 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.0086, allocations: 174.5 kB / 0.7927 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.008629, allocations: 32.45 kB / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.008696, allocations: 39.3 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.008859, allocations: 0.4888 MB / 0.7932 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.008894, allocations: 13.61 kB / 0.7932 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.008931, allocations: 19.98 kB / 0.7932 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/0.009015, allocations: 45.11 kB / 0.7933 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009018, allocations: 0 / 0.7933 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/0.009188, allocations: 86.25 kB / 0.7934 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.009209, allocations: 4 kB / 0.7934 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.009217, allocations: 0.6875 kB / 0.7934 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.009233, allocations: 7.938 kB / 0.7934 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.009375, allocations: 20.67 kB / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.009379, allocations: 0.9688 kB / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.009436, allocations: 11.94 kB / 0.7934 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.009448, allocations: 4 kB / 0.7934 GB, free: 6.801 MB / 0.7448 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.0001074/0.009556, allocations: 165.9 kB / 0.7936 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.009599, allocations: 11.91 kB / 0.7936 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.009801, allocations: 94.38 kB / 0.7937 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.009805, allocations: 5.75 kB / 0.7937 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.009808, allocations: 4 kB / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.009814, allocations: 0 / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.01024, allocations: 361.9 kB / 0.794 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01024, allocations: 0 / 0.794 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.01035, allocations: 28.77 kB / 0.7941 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.01036, allocations: 3.938 kB / 0.7941 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01037, allocations: 4 kB / 0.7941 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01037, allocations: 1.656 kB / 0.7941 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01037, allocations: 0 / 0.7941 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.01062, allocations: 251.3 kB / 0.7943 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.01065, allocations: 11.94 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01067, allocations: 8.812 kB / 0.7943 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01078, allocations: 10.19 kB / 0.7943 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.01083, allocations: 7.984 kB / 0.7943 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01084, allocations: 4 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.01092, allocations: 149.7 kB / 0.7945 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01092, allocations: 0 / 0.7945 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002647/0.01119, allocations: 27.89 kB / 0.7945 GB, free: 5.594 MB / 0.7448 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.0002054/0.01139, allocations: 101.3 kB / 0.7946 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.01157, allocations: 66.11 kB / 0.7947 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01157, allocations: 0 / 0.7947 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.01163, allocations: 36.05 kB / 0.7947 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.012, allocations: 16.47 kB / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.01259, allocations: 259.9 kB / 0.795 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01264, allocations: 67.28 kB / 0.795 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.32e-05/0.0127, allocations: 17.55 kB / 0.7951 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.0128, allocations: 86.2 kB / 0.7951 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.0128, allocations: 0 / 0.7951 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.004239/0.01704, allocations: 1.096 MB / 0.7962 GB, free: 3.816 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.093872964847833]