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.001909/0.001909, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002357/0.002357, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.764/2.764, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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.655e-06/2.655e-06, allocations: 3.938 kB / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.515e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002215/0.00225, allocations: 0.8541 MB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003733, allocations: 0.9188 MB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.003814, allocations: 4 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.815e-05/0.003862, allocations: 12.41 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.003951, allocations: 8.859 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.004192, allocations: 75.77 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.004457, allocations: 136.8 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.004653, allocations: 49.64 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.004791, allocations: 71.86 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.004874, allocations: 40.56 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.004912, allocations: 16 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.686e-05/0.004939, allocations: 12.59 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.004987, allocations: 37.16 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.005054, allocations: 39.89 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.005296, allocations: 147.5 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.005299, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.677e-06/0.005303, allocations: 5.531 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.005308, allocations: 0 / 0.7888 GB, free: 10.31 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.0007819/0.00609, allocations: 359.3 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.006134, allocations: 8.031 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.006221, allocations: 28.84 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.006561, allocations: 164.7 kB / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.006584, allocations: 12.38 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.006614, allocations: 12.38 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.00706, allocations: 224.1 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007069, allocations: 4.188 kB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.007089, allocations: 4.375 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.007098, allocations: 5.375 kB / 0.7896 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.007448, allocations: 128.4 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.008598, allocations: 397.2 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.008814, allocations: 72.08 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.008951, allocations: 44.83 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.008977, allocations: 4.625 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.009017, allocations: 35.44 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.009018, allocations: 4 kB / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005607/0.009579, allocations: 163 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.00963, allocations: 51.41 kB / 0.7905 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.009804, allocations: 144.7 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.009833, allocations: 29.7 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.00995, allocations: 131.7 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.009986, allocations: 29.31 kB / 0.7908 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.01005, allocations: 33.66 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.01024, allocations: 318.8 kB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.01038, allocations: 43.97 kB / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.01052, allocations: 38.08 kB / 0.7912 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.01079, allocations: 90.69 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0108, allocations: 0 / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003598/0.01116, allocations: 152.7 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.01118, allocations: 11.88 kB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01118, allocations: 0 / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.0112, allocations: 3.984 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.01138, allocations: 23.98 kB / 0.7915 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01139, allocations: 4 kB / 0.7915 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01149, allocations: 13.7 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.0115, allocations: 4 kB / 0.7915 GB, free: 7.402 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.0001213/0.01163, allocations: 117.8 kB / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01167, allocations: 16.41 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.01212, allocations: 136.4 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.01213, allocations: 4 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01213, allocations: 0 / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01213, allocations: 0 / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.0128, allocations: 391 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.01281, allocations: 4 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.01292, allocations: 19.98 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.01292, allocations: 4 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01294, allocations: 1.094 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.01294, allocations: 4 kB / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.01294, allocations: 3.938 kB / 0.7922 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.01337, allocations: 247.3 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01339, allocations: 20.72 kB / 0.7924 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01341, allocations: 0 / 0.7924 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.01355, allocations: 12.89 kB / 0.7924 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.01361, allocations: 11.98 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.01362, allocations: 7.75 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.877e-05/0.01372, allocations: 113.1 kB / 0.7925 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01372, allocations: 0 / 0.7925 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002633/0.01398, allocations: 27.89 kB / 0.7926 GB, free: 6.215 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.00017/0.01415, allocations: 102.6 kB / 0.7927 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.0145, allocations: 97.25 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0145, allocations: 1.156 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.01464, allocations: 47.91 kB / 0.7928 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.01495, allocations: 16.95 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.01555, allocations: 256.9 kB / 0.7931 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01567, allocations: 92.56 kB / 0.7932 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01572, allocations: 8.484 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.01577, allocations: 18.19 kB / 0.7932 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01577, allocations: 0 / 0.7932 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.004146/0.01992, allocations: 0.99 MB / 0.7942 GB, free: 4.547 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=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: 7.80867467308417]