Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.0008389/0.0008389, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008948/0.0008948, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8883/0.8883, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.738/1.738, allocations: 377.9 MB / 0.6229 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] 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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.262e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001247/0.001269, allocations: 0.7417 MB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000208/0.001478, allocations: 51.78 kB / 0.983 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.00152, allocations: 3.938 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.001654, allocations: 27.78 kB / 0.9831 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.001697, allocations: 15.97 kB / 0.9831 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.001835, allocations: 19.98 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.001978, allocations: 131.6 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.002131, allocations: 80.91 kB / 0.9833 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.002201, allocations: 95.78 kB / 0.9834 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.002264, allocations: 67.88 kB / 0.9835 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.002299, allocations: 16 kB / 0.9835 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.002317, allocations: 12 kB / 0.9835 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.00237, allocations: 51.78 kB / 0.9835 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.002417, allocations: 47.84 kB / 0.9836 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.002592, allocations: 239.1 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002594, allocations: 0 / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.62e-07/0.002595, allocations: 3.938 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.002599, allocations: 0 / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003654/0.002964, allocations: 427.4 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.002996, allocations: 8.031 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.003035, allocations: 32.75 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.003211, allocations: 201.3 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.003224, allocations: 12.75 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.003255, allocations: 20.36 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.003565, allocations: 337.6 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.003576, allocations: 4.125 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.003591, allocations: 8.375 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.003612, allocations: 10.44 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.003824, allocations: 267.8 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.004516, allocations: 0.9137 MB / 0.986 GB, free: 14.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.836e-05/0.004584, allocations: 169.1 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.004608, allocations: 84.14 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.004625, allocations: 75.47 kB / 0.9863 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.004658, allocations: 113.8 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.004659, allocations: 0 / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.067e-05/0.00472, allocations: 37.61 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.004765, allocations: 138.6 kB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.004962, allocations: 264 kB / 0.9868 GB, free: 13.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.004971, allocations: 25.7 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.005054, allocations: 184 kB / 0.987 GB, free: 12.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.005057, allocations: 4 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.005094, allocations: 33.7 kB / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.005171, allocations: 322.8 kB / 0.9874 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.005225, allocations: 43.97 kB / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.005287, allocations: 89.97 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.005375, allocations: 109.8 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005378, allocations: 4 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002013/0.005579, allocations: 177.3 kB / 0.9878 GB, free: 12.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.00559, allocations: 4 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.005596, allocations: 4 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.005608, allocations: 3.984 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.005679, allocations: 16 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.005688, allocations: 11.92 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.005735, allocations: 16.16 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.005747, allocations: 12 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000189/0.005936, allocations: 249 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.005981, allocations: 124.8 kB / 0.9882 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.006022, allocations: 121.4 kB / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/0.006063, allocations: 180.2 kB / 0.9885 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-05/0.006107, allocations: 188.2 kB / 0.9887 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.957e-05/0.006156, allocations: 180.3 kB / 0.9888 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.006345, allocations: 424.8 kB / 0.9892 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/0.006369, allocations: 108.9 kB / 0.9893 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.006392, allocations: 105.1 kB / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.929e-05/0.006431, allocations: 184.2 kB / 0.9896 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.006472, allocations: 188.2 kB / 0.9898 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.634e-05/0.006509, allocations: 176.3 kB / 0.99 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.92e-05/0.006548, allocations: 180.2 kB / 0.9901 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.576e-05/0.006644, allocations: 323.7 kB / 0.9904 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.006674, allocations: 108.9 kB / 0.9905 GB, free: 9.133 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.006724, allocations: 180.2 kB / 0.9907 GB, free: 8.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.006784, allocations: 116.9 kB / 0.9908 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.006826, allocations: 184.3 kB / 0.991 GB, free: 8.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.00685, allocations: 104.9 kB / 0.9911 GB, free: 8.531 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001056/0.006956, allocations: 192.2 kB / 0.9913 GB, free: 8.344 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.006956, allocations: 4 kB / 0.9913 GB, free: 8.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001924/0.007148, allocations: 43.78 kB / 0.9913 GB, free: 8.297 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 8.627e-05/0.007234, allocations: 170.5 kB / 0.9915 GB, free: 8.121 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007335, allocations: 63.89 kB / 0.9916 GB, free: 8.059 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007337, allocations: 0 / 0.9916 GB, free: 8.059 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.007338, allocations: 0 / 0.9916 GB, free: 8.059 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.007671, allocations: 468.3 kB / 0.992 GB, free: 7.598 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.008082, allocations: 488.2 kB / 0.9925 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.008184, allocations: 159.5 kB / 0.9926 GB, free: 6.906 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.00822, allocations: 20.48 kB / 0.9926 GB, free: 6.887 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.00822, allocations: 0 / 0.9926 GB, free: 6.887 MB / 0.948 GB Notification: Performance of Templates: time 0.002578/0.0108, allocations: 2.087 MB / 0.9947 GB, free: 4.801 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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: 6.8098129238933325]