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.001608/0.001608, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002081/0.002081, allocations: 220.1 kB / 23.03 MB, free: 4.941 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.255/3.255, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 68.23 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002268/0.4276, allocations: 0.7287 MB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002617/0.4279, allocations: 52.23 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.428, allocations: 7.938 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.4282, allocations: 23.8 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.4282, allocations: 7.984 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.4284, allocations: 34.61 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.4286, allocations: 123.6 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.4288, allocations: 84.84 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.4289, allocations: 67.8 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.429, allocations: 87.61 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.4291, allocations: 15.94 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.379e-05/0.4291, allocations: 12 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.4292, allocations: 47.86 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.4293, allocations: 63.55 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.4296, allocations: 247.3 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4296, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4296, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.4296, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 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.0006393/0.4303, allocations: 433.7 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4303, allocations: 11.97 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.4304, allocations: 8.406 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.4304, allocations: 62.72 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.4305, allocations: 24.75 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.4308, allocations: 198.2 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4308, allocations: 16.75 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.4308, allocations: 16.38 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.4314, allocations: 340.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4314, allocations: 3.938 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.4314, allocations: 8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.4314, allocations: 20 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.4318, allocations: 257 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.4332, allocations: 1.03 MB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.4333, allocations: 169.1 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.4333, allocations: 84.14 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4334, allocations: 79.28 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.767e-05/0.4334, allocations: 110 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4334, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.4335, allocations: 49.56 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.4336, allocations: 130.6 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.4342, allocations: 0.4965 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4342, allocations: 25.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4344, allocations: 171.9 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.4344, allocations: 4 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.4344, allocations: 29.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4346, allocations: 338.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.4347, allocations: 47.97 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4348, allocations: 89.95 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.4349, allocations: 117.8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4349, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.4352, allocations: 181.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4353, allocations: 11.94 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4353, allocations: 224 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4353, allocations: 11.94 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4354, allocations: 19.98 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4354, allocations: 7.938 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.4355, allocations: 43.73 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.4355, allocations: 7.984 kB / 1.333 GB, free: 11.03 MB / 1.029 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.0001895/0.4357, allocations: 245.6 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4358, allocations: 128.8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/0.4359, allocations: 134.7 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.25e-05/0.436, allocations: 180.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.074e-05/0.4361, allocations: 180.2 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-05/0.4362, allocations: 188.2 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.4365, allocations: 452.3 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.529e-05/0.4366, allocations: 104.9 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.4366, allocations: 101 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.15e-05/0.4367, allocations: 188.1 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.4368, allocations: 176.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.693e-05/0.4369, allocations: 180.3 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-05/0.437, allocations: 188.2 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.4372, allocations: 323.6 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4373, allocations: 149 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4374, allocations: 176.3 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4376, allocations: 116.9 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.4377, allocations: 192.3 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/0.4377, allocations: 104.9 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004076/0.4381, allocations: 363 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4381, allocations: 0 / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002685/0.4384, allocations: 24 kB / 1.336 GB, free: 7.02 MB / 1.029 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.0005553/0.4389, allocations: 0.8281 MB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.4391, allocations: 64.2 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4391, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-06/0.4391, allocations: 11.94 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.4397, allocations: 484.7 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.4433, allocations: 3.272 MB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.4435, allocations: 172.3 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000103/0.4436, allocations: 45.62 kB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4437, allocations: 59.41 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4437, allocations: 0 / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.4708, allocations: 4.881 MB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12, allocations: 4.062 kB / 1.346 GB, free: 13.24 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.04772904305719]