Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008923/0.0008923, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001059/0.001059, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9298/0.9298, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.645/1.645, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/2.03e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001383/0.001403, allocations: 0.7328 MB / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.001621, allocations: 55.88 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.001678, allocations: 7.938 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.001812, allocations: 19.86 kB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.001858, allocations: 15.86 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.002011, allocations: 23.97 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.002161, allocations: 123.7 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.002331, allocations: 84.89 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.002414, allocations: 95.8 kB / 0.9517 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.002486, allocations: 67.88 kB / 0.9518 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.00252, allocations: 12 kB / 0.9518 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.002538, allocations: 11.94 kB / 0.9518 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.002596, allocations: 59.83 kB / 0.9518 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.00264, allocations: 43.84 kB / 0.9519 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.002826, allocations: 235.2 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002828, allocations: 0 / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.002829, allocations: 0 / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.002834, allocations: 4 kB / 0.9521 GB, free: 1.836 MB / 0.9011 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.0003966/0.003231, allocations: 433.6 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.003269, allocations: 11.97 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.003319, allocations: 54.73 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.003355, allocations: 24.8 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.003548, allocations: 209.3 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.003562, allocations: 12.75 kB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.00358, allocations: 16.38 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.003917, allocations: 333.6 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.003926, allocations: 192 / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.003941, allocations: 16.36 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.00397, allocations: 19.86 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.004192, allocations: 263.8 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.004998, allocations: 1.026 MB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.964e-05/0.005057, allocations: 169.1 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.00508, allocations: 84.08 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.005098, allocations: 75.28 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.005129, allocations: 109.8 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.005129, allocations: 0 / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.763e-05/0.005197, allocations: 45.56 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.005248, allocations: 142.6 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.005603, allocations: 0.5003 MB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.00561, allocations: 25.7 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.005692, allocations: 160 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.005695, allocations: 4 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.005735, allocations: 33.66 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.005817, allocations: 338.8 kB / 0.9561 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.005866, allocations: 51.89 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.005929, allocations: 93.97 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.00602, allocations: 105.9 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006023, allocations: 7.938 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000209/0.006232, allocations: 181.3 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.006245, allocations: 8 kB / 0.9565 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.00625, allocations: 4.219 kB / 0.9565 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.006264, allocations: 8 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.006342, allocations: 19.92 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.006348, allocations: 4 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.00641, allocations: 35.77 kB / 0.9566 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.006423, allocations: 8 kB / 0.9566 GB, free: 13 MB / 0.9167 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.0001146/0.006538, allocations: 253 kB / 0.9568 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.006591, allocations: 132.8 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.006642, allocations: 142.5 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/0.006686, allocations: 184.9 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/0.006728, allocations: 188.1 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/0.006771, allocations: 180.2 kB / 0.9576 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.006967, allocations: 448.2 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.006991, allocations: 108.9 kB / 0.9581 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.007013, allocations: 101.1 kB / 0.9582 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.718e-05/0.00705, allocations: 176.3 kB / 0.9584 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.007092, allocations: 188.2 kB / 0.9586 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.414e-05/0.007137, allocations: 180.2 kB / 0.9587 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.079e-05/0.007177, allocations: 184.1 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.007283, allocations: 323.7 kB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.00735, allocations: 148.8 kB / 0.9594 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.007407, allocations: 180.3 kB / 0.9595 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.007477, allocations: 116.9 kB / 0.9597 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.007522, allocations: 184.2 kB / 0.9598 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.007545, allocations: 101 kB / 0.9599 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000237/0.007782, allocations: 363 kB / 0.9603 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007782, allocations: 0 / 0.9603 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001789/0.007961, allocations: 27.94 kB / 0.9603 GB, free: 8.977 MB / 0.9167 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.0003132/0.008274, allocations: 0.8242 MB / 0.9611 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.008401, allocations: 67.89 kB / 0.9612 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008403, allocations: 0 / 0.9612 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.008404, allocations: 0 / 0.9612 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.008792, allocations: 492.7 kB / 0.9616 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.01103, allocations: 3.298 MB / 0.9649 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.01113, allocations: 168.6 kB / 0.965 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.0112, allocations: 49.61 kB / 0.9651 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.01127, allocations: 60.48 kB / 0.9651 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01127, allocations: 0 / 0.9651 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.02955, allocations: 5.35 MB / 0.9703 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.825, allocations: 6.75 kB / 0.9704 GB, free: 14.65 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.785114693455398]