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.001647/0.001647, 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.001973/0.001973, allocations: 194.6 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.12 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2488, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001864/0.2506, allocations: 0.7366 MB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.2509, allocations: 59.83 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.2509, allocations: 4 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2511, allocations: 11.86 kB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.2511, allocations: 19.91 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.2513, allocations: 23.97 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2515, allocations: 127.6 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.2517, allocations: 161.4 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.2518, allocations: 63.8 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.2519, allocations: 75.64 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.2519, allocations: 12 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.2519, allocations: 8 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.252, allocations: 51.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.2521, allocations: 87.41 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2523, allocations: 227.3 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2523, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2523, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2524, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 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.0004764/0.2528, allocations: 495.4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2529, allocations: 8.031 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.2529, allocations: 58.73 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.253, allocations: 28.56 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2532, allocations: 265 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2533, allocations: 20.73 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2533, allocations: 20.38 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.2537, allocations: 332.9 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2537, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.2538, allocations: 8 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.2538, allocations: 11.98 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.2541, allocations: 263.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2552, allocations: 1.088 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.2553, allocations: 169.1 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.2553, allocations: 80.14 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2553, allocations: 83.22 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.828e-05/0.2554, allocations: 106 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.2554, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001022/0.2555, allocations: 57.34 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.2556, allocations: 130.6 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.2561, allocations: 0.4925 MB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.2561, allocations: 25.7 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2562, allocations: 179.8 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.2562, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.2563, allocations: 29.7 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2564, allocations: 338.8 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.2565, allocations: 51.95 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.2566, allocations: 93.91 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2567, allocations: 105.9 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2567, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002794/0.257, allocations: 189.1 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.257, allocations: 7.938 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.257, allocations: 4.156 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.257, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.2571, allocations: 19.98 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2571, allocations: 11.92 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2572, allocations: 43.8 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2573, allocations: 8 kB / 1.07 GB, free: 7.797 MB / 0.8262 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.0001424/0.2574, allocations: 250.8 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.2575, allocations: 124.6 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.2576, allocations: 140.5 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/0.2576, allocations: 184.2 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-05/0.2577, allocations: 180.3 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/0.2577, allocations: 180.2 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.258, allocations: 493.1 kB / 1.071 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.258, allocations: 105 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.2581, allocations: 104.9 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.081e-05/0.2581, allocations: 188.2 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.2582, allocations: 184.2 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-05/0.2582, allocations: 180.3 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.731e-05/0.2583, allocations: 180.2 kB / 1.072 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2584, allocations: 323.5 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.2585, allocations: 226 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.2586, allocations: 184.2 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2587, allocations: 113 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.2588, allocations: 176.3 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2588, allocations: 105 kB / 1.073 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003392/0.2592, allocations: 363 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2592, allocations: 4 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003011/0.2595, allocations: 24 kB / 1.074 GB, free: 3.656 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.0003815/0.2599, allocations: 0.8362 MB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.26, allocations: 71.89 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.26, allocations: 4 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.26, allocations: 3.984 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.2605, allocations: 476.7 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.2635, allocations: 3.279 MB / 1.078 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2638, allocations: 0.7749 MB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.201e-05/0.2639, allocations: 49.52 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-05/0.264, allocations: 59.42 kB / 1.079 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.264, allocations: 4 kB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.2836, allocations: 4.512 MB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.751, allocations: 11.98 kB / 1.084 GB, free: 9.5 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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