Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.0008921/0.0008921, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.002048, 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.0007488/0.0007488, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009986/0.001747, 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.9836/0.9836, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08268/1.066, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.425/2.425, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2652/2.69, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.102e-05, allocations: 4.703 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002578/0.002609, allocations: 0.7884 MB / 0.8191 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.002784, allocations: 67.75 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.002835, allocations: 3.938 kB / 0.8192 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.002951, allocations: 19.86 kB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.202e-05/0.003003, allocations: 11.92 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.003147, allocations: 31.94 kB / 0.8193 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.00338, allocations: 115.7 kB / 0.8194 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.003599, allocations: 94.19 kB / 0.8195 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.003766, allocations: 112.5 kB / 0.8196 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.003915, allocations: 71.81 kB / 0.8196 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.003968, allocations: 12 kB / 0.8197 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.003999, allocations: 12 kB / 0.8197 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.004079, allocations: 35.86 kB / 0.8197 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.004149, allocations: 39.81 kB / 0.8197 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.004405, allocations: 159.3 kB / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.821e-05/0.004423, allocations: 0 / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004425, allocations: 0 / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.004452, allocations: 8 kB / 0.8199 GB, free: 1.254 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006731/0.005125, allocations: 435.9 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.005165, allocations: 8.031 kB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.005248, allocations: 24.92 kB / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.005431, allocations: 177.4 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005444, allocations: 16.69 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.005465, allocations: 20.38 kB / 0.8205 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.00571, allocations: 196.8 kB / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.00572, allocations: 3.938 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005733, allocations: 8 kB / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.005765, allocations: 19.98 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.005845, allocations: 70.16 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.006496, allocations: 0.7254 MB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.006569, allocations: 169.1 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.006595, allocations: 80.14 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.006614, allocations: 79.28 kB / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.006657, allocations: 105.8 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.006658, allocations: 0 / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.993e-05/0.006718, allocations: 33.64 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.00677, allocations: 130.8 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.006904, allocations: 198.3 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.00691, allocations: 29.7 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.006981, allocations: 172 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.006984, allocations: 4 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.00702, allocations: 21.7 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.007107, allocations: 330.8 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.00713, allocations: 3.984 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.007168, allocations: 50.88 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.007248, allocations: 73.55 kB / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.00725, allocations: 0 / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001217/0.007372, allocations: 81.47 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.007387, allocations: 8 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.007394, allocations: 256 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.007406, allocations: 8 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.007501, allocations: 19.98 kB / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.007508, allocations: 11.88 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.007552, allocations: 23.88 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.007563, allocations: 8 kB / 0.8231 GB, free: 13.74 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 8.972e-05/0.007652, allocations: 188 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.007695, allocations: 112.9 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.007747, allocations: 121.5 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.242e-05/0.007799, allocations: 184.3 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-05/0.007853, allocations: 192.2 kB / 0.8239 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/0.007911, allocations: 180.3 kB / 0.824 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.00811, allocations: 357.3 kB / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/0.008135, allocations: 105 kB / 0.8245 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.00816, allocations: 109 kB / 0.8246 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.008192, allocations: 108.9 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.56e-05/0.008228, allocations: 180.3 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.008267, allocations: 180.2 kB / 0.825 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.989e-05/0.008307, allocations: 184.2 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-05/0.008344, allocations: 180.2 kB / 0.8254 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.171e-05/0.008436, allocations: 311.7 kB / 0.8257 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.008485, allocations: 188.2 kB / 0.8259 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.008537, allocations: 105 kB / 0.826 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.008579, allocations: 184.2 kB / 0.8261 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.008603, allocations: 101 kB / 0.8262 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.008651, allocations: 61.8 kB / 0.8263 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008651, allocations: 0 / 0.8263 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001453/0.008796, allocations: 39.78 kB / 0.8263 GB, free: 10.26 MB / 0.8073 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 0.0001621/0.008958, allocations: 151.7 kB / 0.8265 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.233e-05/0.00905, allocations: 32.95 kB / 0.8265 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.009057, allocations: 8 kB / 0.8265 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.009059, allocations: 3.938 kB / 0.8265 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.009382, allocations: 487.8 kB / 0.827 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.009778, allocations: 418.7 kB / 0.8274 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.908e-05/0.009827, allocations: 91.3 kB / 0.8275 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.009862, allocations: 12.48 kB / 0.8275 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.009919, allocations: 63.36 kB / 0.8275 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of SimCode: time 9.41e-07/0.00992, allocations: 0 / 0.8275 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of Templates: time 0.002831/0.01275, allocations: 1.086 MB / 0.8286 GB, free: 7.887 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.228495814837515]