Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.001731, allocations: 193.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.5961, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002412/0.5985, allocations: 0.7454 MB / 0.9505 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.5988, allocations: 52.52 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.5989, allocations: 1.969 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.599, allocations: 19.14 kB / 0.9505 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.5991, allocations: 15.08 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.5993, allocations: 22.52 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.5995, allocations: 117.1 kB / 0.9507 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.5997, allocations: 164 kB / 0.9508 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.5998, allocations: 74.56 kB / 0.9509 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.5999, allocations: 67.83 kB / 0.951 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.5999, allocations: 11.91 kB / 0.951 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.621e-05/0.6, allocations: 12.75 kB / 0.951 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.6001, allocations: 52.14 kB / 0.9511 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.6002, allocations: 92.22 kB / 0.9511 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.6004, allocations: 217.4 kB / 0.9513 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6004, allocations: 4 kB / 0.9514 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6004, allocations: 0 / 0.9514 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6004, allocations: 0 / 0.9514 GB, free: 8.078 MB / 0.7169 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.0004999/0.6009, allocations: 0.4916 MB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.601, allocations: 13.45 kB / 0.9518 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.601, allocations: 56.8 kB / 0.9519 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.6011, allocations: 27.66 kB / 0.9519 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.6013, allocations: 257.3 kB / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.6013, allocations: 15.84 kB / 0.9522 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.6014, allocations: 21.06 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.6018, allocations: 337.3 kB / 0.9525 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6018, allocations: 0 / 0.9525 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.6018, allocations: 6.344 kB / 0.9525 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.6019, allocations: 18.39 kB / 0.9526 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.6022, allocations: 260.8 kB / 0.9528 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.6032, allocations: 1.092 MB / 0.9539 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.6032, allocations: 166.3 kB / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.6033, allocations: 85.23 kB / 0.9541 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.6033, allocations: 75.28 kB / 0.9542 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.6033, allocations: 115 kB / 0.9543 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6033, allocations: 3.938 kB / 0.9543 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.346e-05/0.6034, allocations: 51.67 kB / 0.9543 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.6034, allocations: 136.1 kB / 0.9545 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.6039, allocations: 0.4924 MB / 0.955 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.6039, allocations: 25.7 kB / 0.955 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.604, allocations: 169.5 kB / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.604, allocations: 4 kB / 0.9551 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.6041, allocations: 33.48 kB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.6041, allocations: 336.7 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.6042, allocations: 47.03 kB / 0.9555 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.6043, allocations: 94.53 kB / 0.9556 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6044, allocations: 106.4 kB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6044, allocations: 4 kB / 0.9557 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000256/0.6046, allocations: 188 kB / 0.9559 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6047, allocations: 9.312 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6047, allocations: 1.812 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6047, allocations: 1.906 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.6048, allocations: 19.98 kB / 0.9559 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6048, allocations: 1.188 kB / 0.9559 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.6049, allocations: 34.44 kB / 0.956 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.6049, allocations: 14.86 kB / 0.956 GB, free: 4.344 MB / 0.7169 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.000106/0.605, allocations: 248.9 kB / 0.9562 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.6051, allocations: 127.6 kB / 0.9564 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.6051, allocations: 135.3 kB / 0.9565 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.6052, allocations: 180.2 kB / 0.9567 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.6052, allocations: 181.6 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.6052, allocations: 185.6 kB / 0.957 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.6054, allocations: 489 kB / 0.9575 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.6054, allocations: 106.4 kB / 0.9576 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.6055, allocations: 106.3 kB / 0.9577 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/0.6055, allocations: 181.7 kB / 0.9578 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.6055, allocations: 185.6 kB / 0.958 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.631e-05/0.6056, allocations: 177.6 kB / 0.9582 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.437e-05/0.6056, allocations: 188.2 kB / 0.9584 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.326e-05/0.6057, allocations: 329.2 kB / 0.9587 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.6058, allocations: 224.6 kB / 0.9589 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.6058, allocations: 185.6 kB / 0.9591 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.6059, allocations: 104.7 kB / 0.9592 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.606, allocations: 185.7 kB / 0.9594 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.606, allocations: 102.3 kB / 0.9595 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003911/0.6064, allocations: 360.8 kB / 0.9598 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6064, allocations: 0 / 0.9598 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000292/0.6067, allocations: 36.53 kB / 0.9598 GB, free: 0.5273 MB / 0.7169 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.0004365/0.6071, allocations: 0.8301 MB / 0.9606 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.6073, allocations: 72.08 kB / 0.9607 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6073, allocations: 0 / 0.9607 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.6073, allocations: 1.688 kB / 0.9607 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.608, allocations: 476.4 kB / 0.9612 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.6119, allocations: 3.284 MB / 0.9644 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.6122, allocations: 0.7766 MB / 0.9651 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.757e-05/0.6123, allocations: 45.69 kB / 0.9652 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.6124, allocations: 65.28 kB / 0.9652 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.6124, allocations: 0 / 0.9652 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.6343, allocations: 4.504 MB / 0.9696 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.967, allocations: 8.016 kB / 0.9696 GB, free: 10.03 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches