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.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.0007732/0.0007732, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.00102/0.00102, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8938/0.8938, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.763e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001467/0.001494, allocations: 0.7144 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002103/0.001705, allocations: 51.83 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.00175, allocations: 7.938 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.001887, allocations: 23.8 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.001933, allocations: 7.984 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.002075, allocations: 31.89 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.002223, allocations: 123.6 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.002403, allocations: 84.89 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.002488, allocations: 91.86 kB / 1.001 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.002565, allocations: 71.81 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.002598, allocations: 12 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.002618, allocations: 12 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.002681, allocations: 55.83 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.00273, allocations: 47.84 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.002931, allocations: 239.1 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002933, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.492e-06/0.002935, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.00294, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 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.0004379/0.003378, allocations: 433.6 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.00342, allocations: 12.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.003469, allocations: 54.73 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.003507, allocations: 28.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.00371, allocations: 189.4 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.003726, allocations: 20.73 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.003746, allocations: 16.38 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.004083, allocations: 337.6 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.004092, allocations: 4.188 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.004109, allocations: 12.34 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.004135, allocations: 15.94 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.004366, allocations: 263.8 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.005196, allocations: 1.034 MB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.005269, allocations: 169.1 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.005293, allocations: 84.14 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.005312, allocations: 75.28 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.005347, allocations: 105.8 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.005348, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.794e-05/0.005426, allocations: 61.39 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.00548, allocations: 134.6 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.005836, allocations: 0.4964 MB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.005845, allocations: 33.7 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.005932, allocations: 167.9 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-06/0.005936, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.005978, allocations: 29.7 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.006075, allocations: 334.8 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.006124, allocations: 47.97 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.006186, allocations: 97.91 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.006291, allocations: 109.8 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006293, allocations: 0 / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002059/0.006499, allocations: 181.3 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.006515, allocations: 9.547 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006521, allocations: 4 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006532, allocations: 224 / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.006607, allocations: 27.92 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.006614, allocations: 8.094 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.006675, allocations: 35.73 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.006689, allocations: 11.98 kB / 1.006 GB, free: 7.004 MB / 0.9636 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.0001118/0.0068, allocations: 253 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.00685, allocations: 124.9 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.006899, allocations: 143.5 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.006936, allocations: 176.3 kB / 1.006 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/0.006977, allocations: 184.1 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/0.007016, allocations: 180.3 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.007211, allocations: 448.2 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/0.007237, allocations: 112.9 kB / 1.007 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.007261, allocations: 105.1 kB / 1.007 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.982e-05/0.007301, allocations: 180.2 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.007341, allocations: 180.3 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-05/0.007381, allocations: 184.2 kB / 1.008 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-05/0.007423, allocations: 180.2 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.007528, allocations: 335.6 kB / 1.008 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.007587, allocations: 140.8 kB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.007642, allocations: 184.2 kB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.007707, allocations: 112.9 kB / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.007751, allocations: 184.2 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.007776, allocations: 112.9 kB / 1.009 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000237/0.008013, allocations: 363 kB / 1.009 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008013, allocations: 0 / 1.009 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001834/0.008196, allocations: 24 kB / 1.009 GB, free: 2.98 MB / 0.9636 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.0002816/0.008478, allocations: 0.8243 MB / 1.01 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.008588, allocations: 64.2 kB / 1.01 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.008591, allocations: 4.062 kB / 1.01 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.008591, allocations: 4 kB / 1.01 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.008972, allocations: 490.9 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.01115, allocations: 3.289 MB / 1.014 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.233e-05/0.01125, allocations: 168.2 kB / 1.014 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01131, allocations: 45.62 kB / 1.014 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.01138, allocations: 64.47 kB / 1.014 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/0.01138, allocations: 0 / 1.014 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.02863, allocations: 5.345 MB / 1.02 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/6.664, allocations: 5.953 kB / 1.02 GB, free: 8.688 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.589956571348011]