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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.004538/0.004538, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001107/0.001107, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7422 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2711, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001854/0.273, allocations: 0.7489 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.2733, allocations: 53.67 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.2734, allocations: 7.938 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2735, allocations: 11.88 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.537e-05/0.2736, allocations: 11.92 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2737, allocations: 27.97 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.2739, allocations: 131.6 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2742, allocations: 152.5 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.2742, allocations: 71.78 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.2743, allocations: 79.62 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.2744, allocations: 12 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.2744, allocations: 12 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.2745, allocations: 47.86 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/0.2746, allocations: 83.42 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2748, allocations: 239 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2748, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2748, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2748, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 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.0005192/0.2753, allocations: 0.491 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2754, allocations: 15.95 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.2755, allocations: 62.73 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.2755, allocations: 24.8 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.2758, allocations: 260.4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2758, allocations: 12.75 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.2758, allocations: 20.31 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.2763, allocations: 340.9 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2763, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2763, allocations: 12 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.2764, allocations: 15.92 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.2767, allocations: 267.8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2778, allocations: 1.084 MB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.2779, allocations: 165.1 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.278, allocations: 80.14 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.278, allocations: 79.28 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.278, allocations: 110 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.278, allocations: 4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.8e-05/0.2781, allocations: 53.5 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.2782, allocations: 126.7 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.2787, allocations: 0.4964 MB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2787, allocations: 25.7 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2788, allocations: 171.9 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2788, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.2789, allocations: 29.7 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.279, allocations: 342.8 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.2791, allocations: 47.97 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.2791, allocations: 89.91 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.2793, allocations: 105.9 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2793, allocations: 3.938 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002865/0.2796, allocations: 193.3 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2796, allocations: 7.938 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2796, allocations: 4 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2796, allocations: 3.938 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.2797, allocations: 19.98 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2797, allocations: 4 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2799, allocations: 35.78 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2799, allocations: 11.98 kB / 1.226 GB, free: 7.867 MB / 0.9825 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.0001439/0.28, allocations: 246.7 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.2801, allocations: 136.7 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.2802, allocations: 134.8 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.058e-05/0.2802, allocations: 184.2 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-05/0.2803, allocations: 180.2 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/0.2804, allocations: 184.2 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.2806, allocations: 497 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/0.2807, allocations: 105 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.2807, allocations: 104.9 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.284e-05/0.2808, allocations: 180.2 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.2808, allocations: 176.3 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.573e-05/0.2809, allocations: 192.2 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.554e-05/0.281, allocations: 184.5 kB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.2811, allocations: 323.6 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2813, allocations: 225.8 kB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.2813, allocations: 180.2 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2815, allocations: 109 kB / 1.229 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.2815, allocations: 192.2 kB / 1.229 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.2816, allocations: 105 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003476/0.2819, allocations: 359 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2819, allocations: 4 kB / 1.23 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002703/0.2822, allocations: 24 kB / 1.23 GB, free: 3.707 MB / 0.9825 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.0004118/0.2826, allocations: 0.8397 MB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.2828, allocations: 63.89 kB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2828, allocations: 0 / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.2828, allocations: 448 / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.2833, allocations: 488.7 kB / 1.231 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.2863, allocations: 3.274 MB / 1.234 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2866, allocations: 0.7749 MB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.2867, allocations: 45.53 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.2868, allocations: 63.41 kB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.2868, allocations: 0 / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.3054, allocations: 4.587 MB / 1.24 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.692, allocations: 7.25 kB / 1.24 GB, free: 9.504 MB / 0.9981 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