Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 119.8 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 193 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 69.36 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3811, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.00282/0.384, allocations: 0.7449 MB / 0.9519 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.3844, allocations: 51.83 kB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.3844, allocations: 4 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3846, allocations: 15.86 kB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.587e-05/0.3847, allocations: 11.92 kB / 0.952 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.385, allocations: 27.95 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.3853, allocations: 131.5 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.3857, allocations: 149.6 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3858, allocations: 75.77 kB / 0.9523 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.386, allocations: 75.64 kB / 0.9524 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.386, allocations: 12 kB / 0.9524 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.3861, allocations: 12 kB / 0.9524 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3862, allocations: 51.84 kB / 0.9525 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3863, allocations: 83.42 kB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.3867, allocations: 231.2 kB / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3867, allocations: 0 / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3867, allocations: 0 / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3867, allocations: 0 / 0.9528 GB, free: 6.398 MB / 0.7325 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.0007706/0.3875, allocations: 0.4951 MB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.3876, allocations: 12.03 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.3877, allocations: 28.66 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.3881, allocations: 259.8 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3882, allocations: 12.75 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.3882, allocations: 16.38 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.3889, allocations: 344.9 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3889, allocations: 3.938 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.389, allocations: 4 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.971e-05/0.3891, allocations: 27.92 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.3896, allocations: 251.9 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3913, allocations: 1.08 MB / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3915, allocations: 173.1 kB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.3915, allocations: 86.19 kB / 0.9555 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3916, allocations: 75.28 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.3916, allocations: 105.8 kB / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.3916, allocations: 0 / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001478/0.3918, allocations: 53.55 kB / 0.9557 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.3919, allocations: 134.7 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/0.3927, allocations: 0.4926 MB / 0.9563 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3927, allocations: 25.7 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3929, allocations: 163.8 kB / 0.9565 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.3929, allocations: 7.938 kB / 0.9565 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.393, allocations: 33.61 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3932, allocations: 338.8 kB / 0.9568 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3933, allocations: 51.89 kB / 0.9569 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3935, allocations: 97.97 kB / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3937, allocations: 105.9 kB / 0.9571 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3937, allocations: 0 / 0.9571 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004339/0.3941, allocations: 181.1 kB / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3942, allocations: 11.94 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3942, allocations: 8.156 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3942, allocations: 4 kB / 0.9573 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3944, allocations: 19.98 kB / 0.9573 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3944, allocations: 0 / 0.9573 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3946, allocations: 39.67 kB / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.3946, allocations: 4 kB / 0.9573 GB, free: 1.426 MB / 0.7325 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.0002616/0.3949, allocations: 252.5 kB / 0.9576 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.395, allocations: 124.7 kB / 0.9577 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3951, allocations: 142.8 kB / 0.9578 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.549e-05/0.3952, allocations: 184.2 kB / 0.958 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.894e-05/0.3953, allocations: 180.3 kB / 0.9582 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.96e-05/0.3954, allocations: 184.2 kB / 0.9584 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3959, allocations: 493.1 kB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.057e-05/0.396, allocations: 112.9 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.3961, allocations: 105 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-05/0.3962, allocations: 180.3 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.3963, allocations: 188.1 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.878e-05/0.3964, allocations: 176.3 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.545e-05/0.3965, allocations: 180.2 kB / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3967, allocations: 327.5 kB / 0.96 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.397, allocations: 218 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.3971, allocations: 184.2 kB / 0.9604 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3973, allocations: 120.9 kB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.3974, allocations: 180.3 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.3975, allocations: 101 kB / 0.9608 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005952/0.3981, allocations: 367 kB / 0.9612 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.005e-06/0.3981, allocations: 0 / 0.9612 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004316/0.3985, allocations: 31.94 kB / 0.9612 GB, free: 13.26 MB / 0.7481 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.0002407/0.3988, allocations: 178.5 kB / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.399, allocations: 67.95 kB / 0.9614 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.399, allocations: 0 / 0.9614 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.399, allocations: 0 / 0.9614 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.3998, allocations: 484.8 kB / 0.9619 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4008, allocations: 471.7 kB / 0.9623 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.4014, allocations: 0.7825 MB / 0.9631 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.4016, allocations: 49.52 kB / 0.9632 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.4016, allocations: 19.44 kB / 0.9632 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.4016, allocations: 0 / 0.9632 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.007032/0.4087, allocations: 1.725 MB / 0.9649 GB, free: 9.449 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches