Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 106.8 kB / 16.4 MB, free: 6.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 192.7 kB / 19.36 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 245.1 MB, free: 14.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 469.8 MB / 0.749 GB, free: 2.984 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00278/0.002781, allocations: 71.89 kB / 1.073 GB, free: 40 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9527, allocations: 159.1 MB / 1.229 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001969/0.9547, allocations: 0.7356 MB / 1.229 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.9549, allocations: 63.81 kB / 1.229 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.955, allocations: 4 kB / 1.229 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.9551, allocations: 19.8 kB / 1.23 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.9552, allocations: 11.92 kB / 1.23 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.9554, allocations: 19.98 kB / 1.23 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.9556, allocations: 119.7 kB / 1.23 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.9558, allocations: 160.5 kB / 1.23 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.9559, allocations: 71.78 kB / 1.23 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.956, allocations: 71.64 kB / 1.23 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.956, allocations: 12 kB / 1.23 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-05/0.9561, allocations: 16 kB / 1.23 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.9562, allocations: 47.86 kB / 1.23 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.9563, allocations: 83.42 kB / 1.23 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.9565, allocations: 244.7 kB / 1.23 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9566, allocations: 3.938 kB / 1.23 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9566, allocations: 0 / 1.23 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.9566, allocations: 0 / 1.23 GB, free: 3.105 MB / 0.9356 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.0005923/0.9572, allocations: 0.4988 MB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9572, allocations: 8.031 kB / 1.231 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.305e-05/0.9573, allocations: 58.73 kB / 1.231 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.9574, allocations: 24.73 kB / 1.231 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.9577, allocations: 264.4 kB / 1.231 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.9577, allocations: 16.75 kB / 1.231 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.9577, allocations: 16.38 kB / 1.231 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.9582, allocations: 336.9 kB / 1.232 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.9582, allocations: 3.984 kB / 1.232 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.9583, allocations: 4 kB / 1.232 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.9583, allocations: 23.98 kB / 1.232 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.9587, allocations: 259 kB / 1.232 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.9598, allocations: 1.084 MB / 1.233 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.96, allocations: 177.1 kB / 1.233 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.96, allocations: 84.17 kB / 1.233 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.96, allocations: 75.28 kB / 1.233 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/0.9601, allocations: 106 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.9601, allocations: 0 / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.911e-05/0.9602, allocations: 57.44 kB / 1.233 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.9603, allocations: 130.7 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.9609, allocations: 0.5004 MB / 1.234 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.9609, allocations: 25.7 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.961, allocations: 167.9 kB / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-06/0.9611, allocations: 4 kB / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.9611, allocations: 33.7 kB / 1.234 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9613, allocations: 334.8 kB / 1.234 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.9614, allocations: 51.95 kB / 1.235 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.9615, allocations: 89.97 kB / 1.235 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.9616, allocations: 117.8 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9616, allocations: 0 / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003006/0.9619, allocations: 185.3 kB / 1.235 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.962, allocations: 11.88 kB / 1.235 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.962, allocations: 4.219 kB / 1.235 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.962, allocations: 4 kB / 1.235 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9621, allocations: 23.92 kB / 1.235 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.9621, allocations: 0 / 1.235 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.9622, allocations: 39.77 kB / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.9622, allocations: 8 kB / 1.235 GB, free: 14.03 MB / 0.9512 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.0001738/0.9624, allocations: 241.1 kB / 1.235 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.9625, allocations: 140.6 kB / 1.235 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.364e-05/0.9626, allocations: 138.8 kB / 1.235 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/0.9627, allocations: 184.2 kB / 1.236 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.813e-05/0.9628, allocations: 180.2 kB / 1.236 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-05/0.9629, allocations: 176.3 kB / 1.236 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.9632, allocations: 493 kB / 1.236 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/0.9633, allocations: 105 kB / 1.237 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.9633, allocations: 109 kB / 1.237 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-05/0.9634, allocations: 184.1 kB / 1.237 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-05/0.9635, allocations: 180.2 kB / 1.237 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-05/0.9636, allocations: 185.2 kB / 1.237 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.215e-05/0.9636, allocations: 180.3 kB / 1.237 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.9638, allocations: 327.6 kB / 1.238 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.964, allocations: 217.9 kB / 1.238 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9641, allocations: 184.1 kB / 1.238 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.9642, allocations: 109 kB / 1.238 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.9643, allocations: 180.3 kB / 1.238 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.9643, allocations: 109.2 kB / 1.238 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003968/0.9647, allocations: 363 kB / 1.239 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9647, allocations: 0 / 1.239 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002767/0.965, allocations: 24 kB / 1.239 GB, free: 9.887 MB / 0.9512 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.0005019/0.9655, allocations: 0.8403 MB / 1.24 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.9657, allocations: 75.86 kB / 1.24 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9657, allocations: 0 / 1.24 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.9657, allocations: 0 / 1.24 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.9663, allocations: 485.2 kB / 1.24 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.9698, allocations: 3.262 MB / 1.243 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.9702, allocations: 0.7787 MB / 1.244 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.172e-05/0.9703, allocations: 49.47 kB / 1.244 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.9704, allocations: 63.41 kB / 1.244 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.9704, allocations: 3.938 kB / 1.244 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.9964, allocations: 4.584 MB / 1.249 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.246, allocations: 0.5938 kB / 1.249 GB, free: 15.68 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.490541429957375]