Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_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.001155/0.001155, 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.001282/0.001282, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.26/1.26, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 61.3 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2491, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001791/0.2509, allocations: 0.8117 MB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001994/0.2511, allocations: 51.84 kB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.2512, allocations: 3.938 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2513, allocations: 11.92 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.2513, allocations: 11.92 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2515, allocations: 23.98 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.2517, allocations: 127.6 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.2519, allocations: 156.5 kB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.2519, allocations: 67.78 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.252, allocations: 75.64 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.2521, allocations: 12 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.2521, allocations: 12 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.2522, allocations: 59.78 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.2522, allocations: 83.42 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2524, allocations: 219.3 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2525, allocations: 4 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2525, allocations: 0 / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.2525, allocations: 4 kB / 1.054 GB, free: 6.895 MB / 0.8106 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.0004824/0.253, allocations: 495.4 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.253, allocations: 12.62 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.2531, allocations: 58.72 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.2531, allocations: 24.66 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.2534, allocations: 260.2 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2534, allocations: 16.75 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.2534, allocations: 20.31 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.2538, allocations: 336.9 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2538, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2539, allocations: 11.98 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.2539, allocations: 15.98 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.2542, allocations: 259.8 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.2552, allocations: 1.092 MB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.2553, allocations: 165.1 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.2553, allocations: 80.14 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.2553, allocations: 75.28 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2554, allocations: 114 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2554, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.704e-05/0.2555, allocations: 53.36 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2555, allocations: 126.7 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.256, allocations: 0.4964 MB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.256, allocations: 29.7 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.2561, allocations: 167.8 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-06/0.2561, allocations: 4 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.2562, allocations: 29.7 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.2563, allocations: 334.8 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.2563, allocations: 51.95 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.2564, allocations: 93.91 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2566, allocations: 105.9 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2566, allocations: 4 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002576/0.2568, allocations: 181.2 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2568, allocations: 7.938 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2569, allocations: 4 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2569, allocations: 0 / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.257, allocations: 23.92 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.257, allocations: 4 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.2571, allocations: 43.77 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2571, allocations: 12 kB / 1.059 GB, free: 1.848 MB / 0.8106 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.0001308/0.2572, allocations: 245.1 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.2573, allocations: 132.5 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.2574, allocations: 138.8 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/0.2574, allocations: 180.2 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-05/0.2575, allocations: 184.2 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/0.2575, allocations: 176.3 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.2578, allocations: 493 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.2578, allocations: 109 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.2579, allocations: 105.4 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-05/0.2579, allocations: 184.2 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.258, allocations: 180.3 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-05/0.258, allocations: 188.2 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.535e-05/0.2581, allocations: 176.5 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2582, allocations: 327.5 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.2583, allocations: 225.7 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.2584, allocations: 180.2 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.2585, allocations: 109 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.2586, allocations: 184.2 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2586, allocations: 101 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003109/0.2589, allocations: 359 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2589, allocations: 4 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002494/0.2592, allocations: 32 kB / 1.063 GB, free: 13.7 MB / 0.8262 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.0003604/0.2595, allocations: 0.8339 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.2597, allocations: 68.27 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2597, allocations: 0 / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.2597, allocations: 0 / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.2602, allocations: 486.1 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.2629, allocations: 3.313 MB / 1.067 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.2632, allocations: 0.7826 MB / 1.068 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.143e-05/0.2633, allocations: 49.52 kB / 1.068 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.2634, allocations: 67.41 kB / 1.068 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2634, allocations: 0 / 1.068 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.88/2.143, allocations: 4.42 MB / 1.072 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/2.143, allocations: 213.9 kB / 1.073 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/4.047, allocations: 0 / 1.073 GB, free: 3.391 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches