Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007944/0.0007944, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9074/0.9074, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.713/1.713, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.18e-05, allocations: 6.219 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001359/0.001381, allocations: 0.7377 MB / 0.9817 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002124/0.001594, allocations: 47.84 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.001638, allocations: 7.938 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.00177, allocations: 27.84 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.001815, allocations: 15.91 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.00196, allocations: 22.8 kB / 0.9819 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.002117, allocations: 127.6 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.002287, allocations: 76.91 kB / 0.9821 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.002371, allocations: 99.78 kB / 0.9822 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.002449, allocations: 75.81 kB / 0.9822 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.002482, allocations: 12 kB / 0.9822 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.0025, allocations: 11.94 kB / 0.9823 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.002559, allocations: 55.84 kB / 0.9823 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.002607, allocations: 47.84 kB / 0.9824 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.002796, allocations: 231.1 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.002798, allocations: 0 / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002799, allocations: 0 / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002804, allocations: 0 / 0.9826 GB, free: 0.9414 MB / 0.9323 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.0003975/0.003201, allocations: 429.7 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.003241, allocations: 12.03 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.003286, allocations: 58.72 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.00332, allocations: 24.8 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.003515, allocations: 201.4 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.003528, allocations: 12.75 kB / 0.9833 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.003545, allocations: 16.38 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.003879, allocations: 337.6 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.003889, allocations: 192 / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.003903, allocations: 8.375 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.003929, allocations: 15.92 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.004147, allocations: 267.8 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.004962, allocations: 1.03 MB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.99e-05/0.005022, allocations: 173.1 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.005045, allocations: 80.14 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.005063, allocations: 79.27 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.005094, allocations: 113.8 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.005095, allocations: 0 / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.615e-05/0.005171, allocations: 49.5 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.005217, allocations: 138.6 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.005567, allocations: 0.4964 MB / 0.986 GB, free: 13.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005576, allocations: 25.7 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.005659, allocations: 167.9 kB / 0.9862 GB, free: 13.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.005663, allocations: 4 kB / 0.9862 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.005702, allocations: 37.59 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003355/0.006038, allocations: 338.8 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.006087, allocations: 47.95 kB / 0.9866 GB, free: 12.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.006148, allocations: 93.97 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.136e-05/0.006239, allocations: 113.8 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.006243, allocations: 4 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/0.006454, allocations: 177.3 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.006468, allocations: 8 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006474, allocations: 0 / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.006486, allocations: 4 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.006563, allocations: 20.14 kB / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.006568, allocations: 11.94 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.006633, allocations: 39.72 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.006645, allocations: 8 kB / 0.987 GB, free: 12.11 MB / 0.948 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.0001085/0.006754, allocations: 245.1 kB / 0.9873 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.006807, allocations: 128.9 kB / 0.9874 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.006854, allocations: 142.7 kB / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.006891, allocations: 180.3 kB / 0.9877 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-05/0.006932, allocations: 184.1 kB / 0.9879 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/0.006969, allocations: 176.3 kB / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.007155, allocations: 456.2 kB / 0.9885 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.007176, allocations: 105 kB / 0.9886 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.007198, allocations: 101.1 kB / 0.9887 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.366e-05/0.007242, allocations: 184.2 kB / 0.9889 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.007281, allocations: 184.3 kB / 0.989 GB, free: 9.941 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.762e-05/0.007319, allocations: 180.2 kB / 0.9892 GB, free: 9.758 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.691e-05/0.007356, allocations: 180.2 kB / 0.9894 GB, free: 9.574 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.007459, allocations: 331.6 kB / 0.9897 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.007522, allocations: 144.8 kB / 0.9898 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.007575, allocations: 184.2 kB / 0.99 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.007642, allocations: 112.9 kB / 0.9901 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.007686, allocations: 188.2 kB / 0.9903 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.007709, allocations: 104.9 kB / 0.9904 GB, free: 8.473 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000234/0.007943, allocations: 367 kB / 0.9907 GB, free: 8.113 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007943, allocations: 0 / 0.9907 GB, free: 8.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00017/0.008113, allocations: 24 kB / 0.9908 GB, free: 8.09 MB / 0.948 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.000293/0.008406, allocations: 0.8242 MB / 0.9916 GB, free: 7.234 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.008525, allocations: 67.83 kB / 0.9916 GB, free: 7.168 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.008527, allocations: 448 / 0.9916 GB, free: 7.168 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.008528, allocations: 4 kB / 0.9916 GB, free: 7.164 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.008923, allocations: 488.9 kB / 0.9921 GB, free: 6.684 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.01137, allocations: 3.3 MB / 0.9953 GB, free: 3.262 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.292e-05/0.01146, allocations: 164.2 kB / 0.9955 GB, free: 3.082 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.01153, allocations: 49.61 kB / 0.9955 GB, free: 3.031 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.0116, allocations: 60.48 kB / 0.9956 GB, free: 2.969 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/0.0116, allocations: 0 / 0.9956 GB, free: 2.969 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.02806, allocations: 5.36 MB / 1.001 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/6.855, allocations: 3.047 kB / 1.001 GB, free: 13.77 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.866256888024509]