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.0009755/0.0009755, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001551/0.001551, allocations: 181 kB / 23.36 MB, free: 1.133 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.9419/0.9419, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.471/2.471, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.004e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001204/0.001224, allocations: 0.7579 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.001426, allocations: 55.77 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.001467, allocations: 3.938 kB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.001599, allocations: 23.8 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.001641, allocations: 7.984 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.001761, allocations: 23.97 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.001904, allocations: 131.6 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.002043, allocations: 94.12 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.002121, allocations: 95.8 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.002191, allocations: 63.88 kB / 0.8399 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.002219, allocations: 12 kB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.002238, allocations: 12 kB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.002295, allocations: 59.77 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.002337, allocations: 47.84 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.002485, allocations: 171.4 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002487, allocations: 0 / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002487, allocations: 4 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002491, allocations: 0 / 0.8402 GB, free: 12.6 MB / 0.8073 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.0003557/0.002847, allocations: 400.2 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.002877, allocations: 8.031 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.002922, allocations: 32.91 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.003072, allocations: 169.4 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.003083, allocations: 12.75 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.003108, allocations: 24.31 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.0033, allocations: 184.5 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.00331, allocations: 4.172 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.003326, allocations: 16.34 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.00335, allocations: 20.12 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.003425, allocations: 72.27 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.004214, allocations: 0.7179 MB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.004269, allocations: 165.1 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.004289, allocations: 84.14 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.004307, allocations: 79.28 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.004339, allocations: 113.8 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.00434, allocations: 0 / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.461e-05/0.004384, allocations: 29.7 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.004427, allocations: 126.7 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.004551, allocations: 207.9 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.004558, allocations: 25.7 kB / 0.8426 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.004622, allocations: 167.9 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.004624, allocations: 0 / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.004657, allocations: 29.69 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.004728, allocations: 326.8 kB / 0.8431 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.004743, allocations: 3.984 kB / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.004779, allocations: 66.78 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.004839, allocations: 69.66 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004841, allocations: 0 / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/0.004943, allocations: 81.47 kB / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.004954, allocations: 12.25 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.004958, allocations: 0 / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.00497, allocations: 7.938 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.005034, allocations: 23.92 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005037, allocations: 0 / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.005081, allocations: 15.95 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.005091, allocations: 7.938 kB / 0.8433 GB, free: 9.125 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 6.998e-05/0.005161, allocations: 199.9 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.005196, allocations: 108.9 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.005233, allocations: 121.5 kB / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/0.00527, allocations: 188.2 kB / 0.8439 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/0.005306, allocations: 176.3 kB / 0.8441 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/0.005343, allocations: 180.3 kB / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.005493, allocations: 361.2 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.005516, allocations: 105 kB / 0.8447 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.005541, allocations: 104.9 kB / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.645e-05/0.005577, allocations: 180.3 kB / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.005613, allocations: 184.2 kB / 0.8452 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-05/0.005649, allocations: 180.2 kB / 0.8453 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.474e-05/0.005684, allocations: 176.3 kB / 0.8455 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.5e-05/0.005769, allocations: 315.9 kB / 0.8458 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.005797, allocations: 116.9 kB / 0.8459 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.005842, allocations: 192.2 kB / 0.8461 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.005893, allocations: 109 kB / 0.8462 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.00593, allocations: 180.2 kB / 0.8464 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.005951, allocations: 101 kB / 0.8465 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.005994, allocations: 57.81 kB / 0.8465 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.005994, allocations: 0 / 0.8465 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001591/0.006153, allocations: 43.78 kB / 0.8466 GB, free: 5.637 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 8.222e-05/0.006236, allocations: 151.7 kB / 0.8467 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.494e-05/0.0063, allocations: 32.72 kB / 0.8467 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.006306, allocations: 4 kB / 0.8467 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.006307, allocations: 0 / 0.8467 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.006556, allocations: 483.6 kB / 0.8472 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.006882, allocations: 404.1 kB / 0.8476 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.006929, allocations: 91.3 kB / 0.8477 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.006957, allocations: 12.48 kB / 0.8477 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.007008, allocations: 59.88 kB / 0.8477 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.007008, allocations: 7.938 kB / 0.8477 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of Templates: time 0.002702/0.00971, allocations: 1.056 MB / 0.8488 GB, free: 3.324 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.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.3305695480667055]