Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001863/0.001863, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.541/1.541, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.574/2.574, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 71.83 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8915, allocations: 140.4 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002353/0.8939, allocations: 0.8247 MB / 0.9497 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.8949, allocations: 0.8246 MB / 0.9506 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.895, allocations: 5.188 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.8953, allocations: 53.56 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.8953, allocations: 25.97 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.991e-05/0.8954, allocations: 18.61 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.8956, allocations: 90.48 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.8958, allocations: 21.5 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.8959, allocations: 39.89 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.8961, allocations: 81.34 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.8962, allocations: 4.438 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.761e-05/0.8962, allocations: 9.219 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.8963, allocations: 27.47 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.8964, allocations: 44.66 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.8966, allocations: 108.1 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8966, allocations: 7.938 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8966, allocations: 0 / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8966, allocations: 1.312 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009139/0.8975, allocations: 462.9 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.8976, allocations: 9.969 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.8977, allocations: 13.97 kB / 0.9515 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.8979, allocations: 208.1 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8979, allocations: 1.688 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.898, allocations: 8.281 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.8985, allocations: 147.8 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.8985, allocations: 1.812 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.8985, allocations: 11.88 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.8985, allocations: 1.344 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.8991, allocations: 172 kB / 0.9521 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.9, allocations: 0.5009 MB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.9005, allocations: 173.2 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.9008, allocations: 93.36 kB / 0.9528 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.9008, allocations: 6.156 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.9009, allocations: 31.91 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.9009, allocations: 0 / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0009431/0.9018, allocations: 289.7 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.9019, allocations: 78.45 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.9021, allocations: 161.2 kB / 0.9533 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.9021, allocations: 26.89 kB / 0.9534 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.9021, allocations: 104.9 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.9022, allocations: 23.12 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.9023, allocations: 31.98 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.9024, allocations: 330.7 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.9026, allocations: 80.36 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.9029, allocations: 90.94 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.9033, allocations: 172.9 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9033, allocations: 0 / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005012/0.9038, allocations: 207.5 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9038, allocations: 8.516 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9039, allocations: 0 / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9039, allocations: 1.5 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.9041, allocations: 30.28 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.9041, allocations: 4.922 kB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.9042, allocations: 30.66 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.9043, allocations: 2.094 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.005e-05/0.9043, allocations: 132.3 kB / 0.9546 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.9044, allocations: 13.44 kB / 0.9546 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.9045, allocations: 20.53 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9045, allocations: 2.25 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9045, allocations: 3.984 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.9045, allocations: 0 / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.9047, allocations: 227.4 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9047, allocations: 12.34 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.9049, allocations: 34.7 kB / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9049, allocations: 1.469 kB / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.905, allocations: 1.438 kB / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.905, allocations: 0 / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.905, allocations: 5.375 kB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.9055, allocations: 384.1 kB / 0.9552 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.9056, allocations: 92.05 kB / 0.9553 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.9056, allocations: 6.203 kB / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.9058, allocations: 24.78 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.9059, allocations: 12.14 kB / 0.9554 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.9059, allocations: 2.031 kB / 0.9554 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.976e-05/0.906, allocations: 122.4 kB / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.906, allocations: 0 / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002756/0.9063, allocations: 15.88 kB / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001935/0.9065, allocations: 108.2 kB / 0.9556 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.9071, allocations: 176.9 kB / 0.9558 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9071, allocations: 0 / 0.9558 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.9073, allocations: 90.67 kB / 0.9559 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.9077, allocations: 17.02 kB / 0.9559 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.9083, allocations: 275.4 kB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.9086, allocations: 0.7197 MB / 0.9568 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.838e-05/0.9087, allocations: 30.19 kB / 0.9569 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.9087, allocations: 10.09 kB / 0.9569 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9087, allocations: 1.406 kB / 0.9569 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.003858/0.9126, allocations: 0.9916 MB / 0.9579 GB, free: 2.164 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches