Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001064/0.001064, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002532, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001066/0.001066, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002379, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9568/0.9568, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09934/1.056, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.34/2.34, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.246/2.586, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.913e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001788/0.001807, allocations: 0.8157 MB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.002651, allocations: 0.8781 MB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.002697, allocations: 4 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.002828, allocations: 59.67 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.002885, allocations: 47.81 kB / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.336e-05/0.002948, allocations: 19.97 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.00305, allocations: 87.77 kB / 0.8202 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.00315, allocations: 19.91 kB / 0.8202 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.003246, allocations: 67.88 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.003357, allocations: 71.89 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.003381, allocations: 8 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.003394, allocations: 8 kB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.003438, allocations: 31.86 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.00347, allocations: 19.94 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.003569, allocations: 75.64 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.003582, allocations: 0 / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003582, allocations: 4 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.003594, allocations: 0 / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004141/0.004008, allocations: 344 kB / 0.8208 GB, free: 232 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.004039, allocations: 8.625 kB / 0.8209 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.004069, allocations: 12.92 kB / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.004196, allocations: 141.6 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-06/0.004203, allocations: 384 / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.004214, allocations: 8.375 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.004389, allocations: 111.3 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.004397, allocations: 4.172 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.004407, allocations: 4.375 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.004412, allocations: 4.375 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.004466, allocations: 25.58 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.004798, allocations: 320.8 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.004924, allocations: 146.8 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.004956, allocations: 25.7 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.004967, allocations: 3.938 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.004991, allocations: 38.56 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.004992, allocations: 0 / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001606/0.005153, allocations: 69.55 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.005193, allocations: 77.11 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.005276, allocations: 152.8 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.005289, allocations: 25.7 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.005327, allocations: 96.11 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.005355, allocations: 27.73 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.005389, allocations: 21.7 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.005468, allocations: 330.8 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.005489, allocations: 10.83 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.005515, allocations: 21.72 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.005567, allocations: 54.09 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005568, allocations: 0 / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.491e-05/0.005643, allocations: 63.8 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005656, allocations: 4 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.005662, allocations: 7.875 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005672, allocations: 4 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.005768, allocations: 23.98 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.005771, allocations: 4 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.005808, allocations: 11.98 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005813, allocations: 0 / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 5.851e-05/0.005871, allocations: 116.7 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.005899, allocations: 11.97 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.005928, allocations: 20.28 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.005931, allocations: 7.938 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005932, allocations: 0 / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005935, allocations: 0 / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.006065, allocations: 105.8 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006066, allocations: 0 / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.006123, allocations: 23.92 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.006133, allocations: 11.89 kB / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006134, allocations: 0 / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.00614, allocations: 4 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006142, allocations: 3.938 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006142, allocations: 0 / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.006281, allocations: 317.5 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.006292, allocations: 4 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.006357, allocations: 11.98 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.006397, allocations: 19.86 kB / 0.8233 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.006401, allocations: 4 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.598e-05/0.006427, allocations: 39.88 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006427, allocations: 0 / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001471/0.006574, allocations: 16 kB / 0.8233 GB, free: 13.47 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.786e-05/0.006652, allocations: 76.42 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.006742, allocations: 41 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.006747, allocations: 0 / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.006778, allocations: 28.84 kB / 0.8235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.006982, allocations: 23.97 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.0075, allocations: 247.2 kB / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.007558, allocations: 67.33 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.132e-05/0.0076, allocations: 8 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.007677, allocations: 67.36 kB / 0.8238 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.007678, allocations: 0 / 0.8238 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.002693/0.01037, allocations: 1.173 MB / 0.825 GB, free: 11.7 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.ref.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.045735599473119]