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.001817/0.001817, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002144/0.002144, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.893/2.893, 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.665e-06/2.665e-06, allocations: 0 / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.221e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.003155/0.003187, allocations: 0.8713 MB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.005147, allocations: 0.9138 MB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.005279, allocations: 8.844 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.666e-05/0.005335, allocations: 11.81 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.005457, allocations: 8.953 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.005769, allocations: 71.83 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.006112, allocations: 139.7 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.00635, allocations: 46.08 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.006599, allocations: 75.86 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.006731, allocations: 48.42 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.006782, allocations: 12 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.006822, allocations: 16.69 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.00688, allocations: 27.86 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.006967, allocations: 40.8 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.007304, allocations: 147.5 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007307, allocations: 0.6562 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/0.007309, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.007322, allocations: 5.656 kB / 0.7888 GB, free: 10.29 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.001029/0.008351, allocations: 463.8 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.008402, allocations: 13.62 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.008511, allocations: 24.84 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.00889, allocations: 171.8 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.008916, allocations: 8.375 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.008965, allocations: 16.38 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.009473, allocations: 215.3 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.009487, allocations: 192 / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.009512, allocations: 4.375 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.009521, allocations: 4.375 kB / 0.7897 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.009951, allocations: 115.9 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.01119, allocations: 457.1 kB / 0.7903 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.01147, allocations: 78.98 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.01163, allocations: 40.2 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.01167, allocations: 7.984 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.01173, allocations: 38.64 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.01173, allocations: 0 / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0006371/0.01236, allocations: 146.7 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.01242, allocations: 55.34 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.01272, allocations: 215.7 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.01275, allocations: 26.64 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.01294, allocations: 174.5 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.013, allocations: 36.64 kB / 0.791 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.0131, allocations: 39.31 kB / 0.7911 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000367/0.01347, allocations: 0.4922 MB / 0.7916 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.01364, allocations: 37.02 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.0138, allocations: 35.97 kB / 0.7916 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.01412, allocations: 83.39 kB / 0.7917 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01412, allocations: 0 / 0.7917 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004579/0.01458, allocations: 134.2 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.0146, allocations: 4 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.01461, allocations: 4.5 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.01463, allocations: 8.547 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.01486, allocations: 19.94 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01487, allocations: 0.7188 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01499, allocations: 9.203 kB / 0.7919 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.01501, allocations: 8 kB / 0.7919 GB, free: 6.945 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.0001903/0.0152, allocations: 160.6 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.01528, allocations: 24.75 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.01575, allocations: 128 kB / 0.7922 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01575, allocations: 0 / 0.7922 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.01576, allocations: 4 kB / 0.7922 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01576, allocations: 0 / 0.7922 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.01672, allocations: 448.8 kB / 0.7926 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01673, allocations: 0.6875 kB / 0.7926 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01689, allocations: 28.53 kB / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.01689, allocations: 4 kB / 0.7926 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01691, allocations: 0.7812 kB / 0.7926 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01691, allocations: 0 / 0.7926 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.01692, allocations: 4.969 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.01749, allocations: 304 kB / 0.7929 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.01752, allocations: 7.953 kB / 0.7929 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.01755, allocations: 0 / 0.7929 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.01776, allocations: 16.83 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.01782, allocations: 11.92 kB / 0.793 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.01783, allocations: 6.219 kB / 0.793 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001772/0.01801, allocations: 158.1 kB / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01801, allocations: 0 / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004715/0.01848, allocations: 27.89 kB / 0.7932 GB, free: 5.551 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.0001904/0.01867, allocations: 95.25 kB / 0.7932 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.0191, allocations: 102.4 kB / 0.7933 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.01911, allocations: 4 kB / 0.7934 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.01928, allocations: 47.61 kB / 0.7934 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.01978, allocations: 19.92 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.02061, allocations: 267.4 kB / 0.7937 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.02077, allocations: 100.4 kB / 0.7938 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.205e-05/0.02084, allocations: 4.5 kB / 0.7938 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.02092, allocations: 20.98 kB / 0.7938 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.02092, allocations: 0.5938 kB / 0.7938 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.006068/0.02698, allocations: 0.9829 MB / 0.7948 GB, free: 3.859 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","/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: 8.038207093952224]