Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.005489/0.005489, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001137/0.001137, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.32/2.32, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 72.02 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6173/0.6191, allocations: 151.6 MB / 1.166 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001655/0.6208, allocations: 0.7469 MB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.621, allocations: 55.83 kB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.621, allocations: 4 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.6212, allocations: 15.86 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.6212, allocations: 11.92 kB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.6213, allocations: 20.98 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.6215, allocations: 127.6 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.6217, allocations: 156.5 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.6218, allocations: 67.78 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.6219, allocations: 75.64 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.6219, allocations: 16 kB / 1.168 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.859e-05/0.622, allocations: 12 kB / 1.168 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.622, allocations: 51.86 kB / 1.168 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.6221, allocations: 87.41 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.6224, allocations: 234.7 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.6224, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6224, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.6224, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 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.0005046/0.6229, allocations: 0.5026 MB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.6229, allocations: 8.922 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.623, allocations: 58.73 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.623, allocations: 28.73 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.6233, allocations: 264.5 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6233, allocations: 12.69 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.6234, allocations: 20.38 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.6238, allocations: 336.9 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.6238, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.6238, allocations: 4 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.6239, allocations: 23.92 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.6242, allocations: 257 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.6253, allocations: 1.084 MB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.067e-05/0.6254, allocations: 181.1 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.6254, allocations: 84.17 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.6255, allocations: 75.28 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.6255, allocations: 110 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6255, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.292e-05/0.6256, allocations: 52 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.6257, allocations: 130.7 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.6262, allocations: 0.5003 MB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.6262, allocations: 25.7 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.6263, allocations: 164 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.6263, allocations: 3.938 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.6264, allocations: 33.64 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6265, allocations: 342.8 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.6266, allocations: 47.95 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.6267, allocations: 97.97 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.6268, allocations: 105.9 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6268, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002633/0.6271, allocations: 185.2 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6271, allocations: 11.94 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.6271, allocations: 4.219 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6271, allocations: 4 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.6272, allocations: 19.98 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6272, allocations: 0 / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.6273, allocations: 43.77 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.6274, allocations: 4 kB / 1.173 GB, free: 13.12 MB / 0.9044 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.0001582/0.6275, allocations: 253 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/0.6276, allocations: 136.7 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.6277, allocations: 138.8 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-05/0.6278, allocations: 180.2 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-05/0.6279, allocations: 184.3 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.426e-05/0.6279, allocations: 180.2 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.6282, allocations: 489.1 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/0.6283, allocations: 108.9 kB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.6283, allocations: 105 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.7e-05/0.6284, allocations: 184.1 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.6285, allocations: 184.2 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-05/0.6286, allocations: 184.2 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/0.6286, allocations: 184.2 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.6288, allocations: 323.7 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6289, allocations: 217.8 kB / 1.175 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.629, allocations: 184.3 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.6291, allocations: 112.9 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.6292, allocations: 180.3 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.6293, allocations: 101.3 kB / 1.176 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003552/0.6296, allocations: 366.9 kB / 1.176 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.856e-06/0.6296, allocations: 0 / 1.176 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002406/0.6299, allocations: 31.92 kB / 1.176 GB, free: 8.949 MB / 0.9044 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.000434/0.6303, allocations: 0.8359 MB / 1.177 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.6304, allocations: 67.91 kB / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6304, allocations: 0 / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6305, allocations: 0 / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.6309, allocations: 494.9 kB / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.634, allocations: 3.269 MB / 1.181 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.6344, allocations: 0.7749 MB / 1.182 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.877e-05/0.6344, allocations: 45.53 kB / 1.182 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.6345, allocations: 59.41 kB / 1.182 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6345, allocations: 0 / 1.182 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2741/0.9086, allocations: 4.585 MB / 1.186 GB, free: 14.76 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.994, allocations: 12.41 kB / 1.186 GB, free: 14.75 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches