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.001207/0.001207, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00119/0.00119, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.247/2.247, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.89 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.5057, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001694/0.5074, allocations: 0.8039 MB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.5076, allocations: 51.83 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.5077, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.5078, allocations: 23.86 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.5079, allocations: 11.97 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.508, allocations: 19.98 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.5081, allocations: 119.6 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.5084, allocations: 161.2 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.5084, allocations: 71.78 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.5085, allocations: 71.64 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.5085, allocations: 12 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.368e-05/0.5086, allocations: 12 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.5086, allocations: 55.86 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.5087, allocations: 87.42 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.5089, allocations: 223.3 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5089, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5089, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5089, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 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.0004695/0.5094, allocations: 0.4934 MB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5094, allocations: 8.031 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.5095, allocations: 58.67 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.5096, allocations: 32.64 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.5098, allocations: 259.8 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5098, allocations: 12.75 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.5098, allocations: 20.45 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.5103, allocations: 340.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5103, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.5103, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.5103, allocations: 27.83 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.5106, allocations: 251.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5116, allocations: 1.088 MB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.92e-05/0.5117, allocations: 169.1 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.5118, allocations: 88.14 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.5118, allocations: 75.28 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5118, allocations: 106 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.5118, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.393e-05/0.5119, allocations: 57.36 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.512, allocations: 126.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.5124, allocations: 0.4965 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.5125, allocations: 25.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5126, allocations: 167.8 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.5126, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.5126, allocations: 37.59 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5127, allocations: 342.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.5128, allocations: 47.95 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.5129, allocations: 93.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.513, allocations: 109.9 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.513, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002578/0.5133, allocations: 185.1 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5133, allocations: 11.94 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5133, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5133, allocations: 4.219 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.5134, allocations: 23.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5134, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.5135, allocations: 35.69 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.5135, allocations: 7.984 kB / 1.023 GB, free: 11.92 MB / 0.7794 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.000141/0.5137, allocations: 249 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.5138, allocations: 128.6 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.5138, allocations: 138.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-05/0.5139, allocations: 180.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-05/0.5139, allocations: 180.3 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-05/0.514, allocations: 184.2 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.5143, allocations: 497 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/0.5143, allocations: 104.9 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.5144, allocations: 105 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-05/0.5144, allocations: 184.2 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.5145, allocations: 180.2 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.254e-05/0.5145, allocations: 176.3 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.678e-05/0.5146, allocations: 184.2 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.5147, allocations: 327.5 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5148, allocations: 221.7 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.5149, allocations: 184.2 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.515, allocations: 113.2 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.5151, allocations: 176.3 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.5151, allocations: 109 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003173/0.5154, allocations: 366.9 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5155, allocations: 0 / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00025/0.5157, allocations: 28 kB / 1.027 GB, free: 7.766 MB / 0.7794 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.0003689/0.5161, allocations: 0.8474 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.5162, allocations: 59.89 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5162, allocations: 4 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.5162, allocations: 0 / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.5167, allocations: 485.1 kB / 1.028 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.5195, allocations: 3.305 MB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5198, allocations: 0.7827 MB / 1.032 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.66e-05/0.5199, allocations: 49.52 kB / 1.032 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.52, allocations: 59.41 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.52, allocations: 0 / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7746/1.295, allocations: 4.425 MB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.295, allocations: 199.8 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/3.006, allocations: 0 / 1.037 GB, free: 13.45 MB / 0.795 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=50 --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