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.00763/0.00763, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001937/0.001937, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.48/2.48, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2667, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001763/0.2685, allocations: 0.7295 MB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.2688, allocations: 59.75 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.2688, allocations: 0 / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.269, allocations: 23.8 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.269, allocations: 11.98 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.2692, allocations: 35.95 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2694, allocations: 119.7 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2696, allocations: 156.8 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.2697, allocations: 67.73 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.2697, allocations: 75.64 kB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.2698, allocations: 12 kB / 1.167 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.907e-05/0.2698, allocations: 12 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.2699, allocations: 59.78 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.27, allocations: 79.48 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.2702, allocations: 231.2 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2702, allocations: 4 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2703, allocations: 3.938 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2703, allocations: 0 / 1.168 GB, free: 5.551 MB / 0.92 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.0005098/0.2708, allocations: 0.4987 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2708, allocations: 12.03 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.2709, allocations: 58.67 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.2709, allocations: 24.8 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.2712, allocations: 257 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2713, allocations: 12.75 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.2713, allocations: 20.38 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.2717, allocations: 340.9 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2717, allocations: 4 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.2718, allocations: 4 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.2718, allocations: 23.88 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.2721, allocations: 259.8 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2733, allocations: 1.088 MB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.2734, allocations: 169.1 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.2734, allocations: 80.14 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2735, allocations: 83.28 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2735, allocations: 106 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.2735, allocations: 0 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.544e-05/0.2736, allocations: 61.48 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2737, allocations: 126.7 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.2742, allocations: 0.4926 MB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2742, allocations: 25.7 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2743, allocations: 179.8 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.2743, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.2744, allocations: 29.7 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2745, allocations: 338.8 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.2746, allocations: 47.95 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.2746, allocations: 93.97 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.2748, allocations: 105.9 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2748, allocations: 4 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.2751, allocations: 185.2 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2751, allocations: 11.94 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2751, allocations: 3.938 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2751, allocations: 4 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.2752, allocations: 19.98 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2752, allocations: 0 / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.2753, allocations: 35.98 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2754, allocations: 12 kB / 1.173 GB, free: 0.4922 MB / 0.92 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.0001379/0.2755, allocations: 249 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.2756, allocations: 132.7 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.2757, allocations: 142.8 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-05/0.2757, allocations: 176.3 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/0.2758, allocations: 184.3 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.499e-05/0.2758, allocations: 180.2 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.2761, allocations: 497 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/0.2762, allocations: 104.9 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.2762, allocations: 101 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/0.2763, allocations: 192.2 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.2764, allocations: 188.2 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.134e-05/0.2764, allocations: 176.3 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.127e-05/0.2765, allocations: 180.4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.2766, allocations: 331.6 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2768, allocations: 214 kB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/0.2769, allocations: 188.5 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.277, allocations: 108.9 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.2771, allocations: 180.3 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.2771, allocations: 108.9 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003599/0.2775, allocations: 367 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2775, allocations: 0 / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002717/0.2778, allocations: 28 kB / 1.176 GB, free: 12.32 MB / 0.9356 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.0005232/0.2783, allocations: 0.8339 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.2785, allocations: 68.27 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2785, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-06/0.2785, allocations: 7.938 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.2791, allocations: 480.8 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.2823, allocations: 3.27 MB / 1.181 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.2827, allocations: 0.7788 MB / 1.182 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.593e-05/0.2828, allocations: 53.52 kB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2829, allocations: 59.42 kB / 1.182 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.2829, allocations: 0 / 1.182 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.304, allocations: 4.575 MB / 1.186 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.953, allocations: 14.77 kB / 1.186 GB, free: 2.125 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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