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.001223/0.001223, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.291/2.291, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6805, allocations: 140.4 MB / 0.9493 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002849/0.6834, allocations: 0.8036 MB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000296/0.6837, allocations: 52.2 kB / 0.9501 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.6838, allocations: 1.375 kB / 0.9501 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.684, allocations: 22.55 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.6841, allocations: 12.11 kB / 0.9501 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.6843, allocations: 20.23 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.6845, allocations: 116.9 kB / 0.9503 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.6849, allocations: 164 kB / 0.9504 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.685, allocations: 74.25 kB / 0.9505 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.6851, allocations: 68.3 kB / 0.9505 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.6852, allocations: 12.59 kB / 0.9506 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-05/0.6852, allocations: 12.03 kB / 0.9506 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.6853, allocations: 55.39 kB / 0.9506 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.6855, allocations: 85.14 kB / 0.9507 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.6858, allocations: 223.8 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.361e-05/0.6858, allocations: 0 / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.935e-06/0.6858, allocations: 1.281 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.6858, allocations: 0 / 0.9509 GB, free: 7.938 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.0008099/0.6866, allocations: 0.4954 MB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6867, allocations: 10 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.375e-05/0.6868, allocations: 55.95 kB / 0.9515 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.6869, allocations: 23.09 kB / 0.9515 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.6872, allocations: 258 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.6872, allocations: 20.66 kB / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.6873, allocations: 15.53 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.6878, allocations: 341.8 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6879, allocations: 0 / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.6879, allocations: 6.5 kB / 0.9521 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.6879, allocations: 23.36 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.6883, allocations: 252.7 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.6896, allocations: 1.091 MB / 0.9534 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.6896, allocations: 166.2 kB / 0.9536 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.6897, allocations: 89.39 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.6897, allocations: 79.28 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.6897, allocations: 106.9 kB / 0.9539 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.6897, allocations: 0 / 0.9539 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001426/0.6899, allocations: 52.17 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.6899, allocations: 132.2 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.6906, allocations: 0.4926 MB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.6906, allocations: 25.7 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.6907, allocations: 172.8 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-06/0.6907, allocations: 4 kB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.6908, allocations: 34.33 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6909, allocations: 335.9 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.691, allocations: 54.61 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.6911, allocations: 95.48 kB / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.6913, allocations: 109 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6913, allocations: 1.219 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003545/0.6916, allocations: 188.7 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6917, allocations: 7.5 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6917, allocations: 3.5 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.6917, allocations: 3.531 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.6918, allocations: 18.67 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6918, allocations: 224 / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.692, allocations: 38 kB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.692, allocations: 10.33 kB / 0.9556 GB, free: 4.199 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.0001515/0.6921, allocations: 248.6 kB / 0.9558 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.6922, allocations: 132.2 kB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.6923, allocations: 138.9 kB / 0.9561 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.6923, allocations: 178.2 kB / 0.9562 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/0.6923, allocations: 184.2 kB / 0.9564 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.6924, allocations: 183.6 kB / 0.9566 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.6926, allocations: 488.3 kB / 0.957 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.6927, allocations: 110.4 kB / 0.9571 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.6927, allocations: 102.6 kB / 0.9572 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.452e-05/0.6927, allocations: 184.2 kB / 0.9574 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.6928, allocations: 181.6 kB / 0.9576 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-05/0.6928, allocations: 181.8 kB / 0.9578 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.192e-05/0.6928, allocations: 184.1 kB / 0.9579 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.693, allocations: 321.1 kB / 0.9583 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.6931, allocations: 225.1 kB / 0.9585 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.6931, allocations: 184.5 kB / 0.9586 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.6932, allocations: 114.4 kB / 0.9588 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.6933, allocations: 176.3 kB / 0.9589 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.6933, allocations: 106.6 kB / 0.959 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003745/0.6937, allocations: 361.4 kB / 0.9594 GB, free: 404 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.152e-06/0.6937, allocations: 4 kB / 0.9594 GB, free: 400 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000295/0.694, allocations: 32.69 kB / 0.9594 GB, free: 392 kB / 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.0004697/0.6945, allocations: 0.8264 MB / 0.9602 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.6946, allocations: 71.77 kB / 0.9603 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6946, allocations: 0 / 0.9603 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.6947, allocations: 0 / 0.9603 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.6953, allocations: 487.4 kB / 0.9607 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.6998, allocations: 3.296 MB / 0.964 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.7001, allocations: 0.776 MB / 0.9647 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.7003, allocations: 45.53 kB / 0.9648 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.7004, allocations: 65.28 kB / 0.9648 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.7004, allocations: 0 / 0.9648 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.7211, allocations: 4.429 MB / 0.9691 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.7213, allocations: 207.6 kB / 0.9693 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.758, allocations: 0 / 0.9693 GB, free: 9.727 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