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.00139/0.00139, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001541/0.001541, allocations: 212.1 kB / 22.24 MB, free: 5.246 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.517/1.517, allocations: 230.7 MB / 256 MB, free: 7.781 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.215/3.215, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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="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: 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.002138/0.002138, allocations: 63.77 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3676, allocations: 176.1 MB / 1.325 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002217/0.3699, allocations: 0.7206 MB / 1.326 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.3701, allocations: 56.23 kB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3702, allocations: 7.938 kB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.3703, allocations: 15.86 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.3704, allocations: 11.92 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3706, allocations: 27.97 kB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.3708, allocations: 119.7 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.371, allocations: 84.84 kB / 1.326 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.3711, allocations: 71.72 kB / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3712, allocations: 83.7 kB / 1.326 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.3712, allocations: 12 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.3713, allocations: 12 kB / 1.326 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.3713, allocations: 55.78 kB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.3714, allocations: 67.59 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.3717, allocations: 235.3 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3717, allocations: 7.938 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3717, allocations: 0 / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3717, allocations: 0 / 1.327 GB, free: 0.7344 MB / 1.014 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.0005816/0.3723, allocations: 433.7 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3723, allocations: 12.03 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.3724, allocations: 58.72 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3724, allocations: 32.73 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.3728, allocations: 206.1 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3728, allocations: 12.75 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3729, allocations: 16.38 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.3734, allocations: 340.9 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3734, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3734, allocations: 11.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.3735, allocations: 15.98 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.3738, allocations: 271.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.3752, allocations: 1.026 MB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.3753, allocations: 169.1 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.3753, allocations: 84.08 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.3754, allocations: 75.28 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.3754, allocations: 110 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3754, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001204/0.3756, allocations: 53.48 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.3756, allocations: 130.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.3762, allocations: 0.4926 MB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3762, allocations: 25.7 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.3764, allocations: 171.9 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.3764, allocations: 0 / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.3764, allocations: 29.7 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3766, allocations: 342.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.3767, allocations: 47.95 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3768, allocations: 97.89 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.377, allocations: 109.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.377, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003167/0.3773, allocations: 185.2 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3773, allocations: 7.938 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3773, allocations: 4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3773, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3774, allocations: 24.2 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3775, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3776, allocations: 35.77 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3776, allocations: 8 kB / 1.331 GB, free: 11.88 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.0001864/0.3778, allocations: 251.3 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.3779, allocations: 132.7 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.647e-05/0.3779, allocations: 134.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/0.378, allocations: 184.2 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.662e-05/0.3781, allocations: 180.3 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.876e-05/0.3782, allocations: 184.1 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.3785, allocations: 448.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.487e-05/0.3786, allocations: 109 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.3787, allocations: 108.9 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.3788, allocations: 184.2 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.3789, allocations: 184.2 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.816e-05/0.379, allocations: 176.3 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000105/0.3791, allocations: 180.2 kB / 1.333 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3794, allocations: 327.7 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3795, allocations: 148.8 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.3797, allocations: 188.4 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3798, allocations: 108.9 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3799, allocations: 184.3 kB / 1.334 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.38, allocations: 105 kB / 1.334 GB, free: 8.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004445/0.3804, allocations: 363 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3804, allocations: 4 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002845/0.3807, allocations: 28 kB / 1.335 GB, free: 7.855 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.0006231/0.3813, allocations: 0.834 MB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3815, allocations: 67.89 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3815, allocations: 448 / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-06/0.3815, allocations: 8 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.3822, allocations: 482.3 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.3861, allocations: 3.263 MB / 1.339 GB, free: 3.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.3862, allocations: 168.2 kB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.3863, allocations: 53.59 kB / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3864, allocations: 59.42 kB / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3864, allocations: 0 / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.4209, allocations: 5.221 MB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 6.297 kB / 1.345 GB, free: 13.69 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: 18.80848686210811]