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.00109/0.00109, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009204/0.009204, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.572/1.572, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.652/2.652, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004527, allocations: 16 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9003/0.9008, allocations: 142.4 MB / 0.9551 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001025/0.9019, allocations: 0.4947 MB / 0.9555 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.9029, allocations: 0.8198 MB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.903, allocations: 1.406 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.9032, allocations: 54.39 kB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.9033, allocations: 29.89 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.276e-05/0.9034, allocations: 14.02 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.9035, allocations: 85.97 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.9037, allocations: 26.78 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.9038, allocations: 41.84 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.9039, allocations: 76.08 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.904, allocations: 4.406 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.904, allocations: 3.969 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.9041, allocations: 35.58 kB / 0.9567 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.9041, allocations: 62.06 kB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.9043, allocations: 107.2 kB / 0.9569 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9043, allocations: 1.188 kB / 0.9569 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9043, allocations: 0 / 0.9569 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9043, allocations: 0 / 0.9569 GB, free: 6.355 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.0008257/0.9052, allocations: 468.5 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9052, allocations: 9.812 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.9053, allocations: 8.938 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.9055, allocations: 203.5 kB / 0.9575 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.9055, allocations: 12.53 kB / 0.9575 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.9055, allocations: 5.75 kB / 0.9575 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.906, allocations: 168.1 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.906, allocations: 192 / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.906, allocations: 4.906 kB / 0.9577 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.906, allocations: 1.062 kB / 0.9577 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.9066, allocations: 201.2 kB / 0.9579 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.9074, allocations: 0.5194 MB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.9079, allocations: 184.4 kB / 0.9586 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.9082, allocations: 116.6 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.9082, allocations: 1.375 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.9082, allocations: 31.94 kB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.9082, allocations: 0 / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001011/0.9093, allocations: 333.6 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.9093, allocations: 86.41 kB / 0.9591 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.9095, allocations: 166.1 kB / 0.9593 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.9095, allocations: 29.7 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.9096, allocations: 105.6 kB / 0.9594 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.9096, allocations: 27.69 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.9096, allocations: 11.09 kB / 0.9594 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.9097, allocations: 326.9 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.91, allocations: 93.67 kB / 0.9599 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.9103, allocations: 123.5 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.9109, allocations: 201.5 kB / 0.9602 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9109, allocations: 4 kB / 0.9602 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006485/0.9115, allocations: 235.8 kB / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.9116, allocations: 5.344 kB / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.9116, allocations: 0 / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.9116, allocations: 4.938 kB / 0.9604 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.9119, allocations: 50.77 kB / 0.9604 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.9119, allocations: 0.7812 kB / 0.9604 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.912, allocations: 32.83 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.9121, allocations: 2.031 kB / 0.9605 GB, free: 3.613 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 0.0001113/0.9122, allocations: 137.1 kB / 0.9606 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.9122, allocations: 12.34 kB / 0.9606 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.9123, allocations: 17.25 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9123, allocations: 4.938 kB / 0.9606 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.9123, allocations: 1.312 kB / 0.9606 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9123, allocations: 480 / 0.9606 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.9127, allocations: 223.7 kB / 0.9609 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.9127, allocations: 0 / 0.9609 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.9129, allocations: 50.11 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.9129, allocations: 0.9375 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.9129, allocations: 1.062 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.9129, allocations: 0.9375 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9129, allocations: 4.984 kB / 0.9609 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.9136, allocations: 421.6 kB / 0.9613 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.9136, allocations: 92.95 kB / 0.9614 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.9137, allocations: 1.094 kB / 0.9614 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.9139, allocations: 35.92 kB / 0.9614 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.9139, allocations: 15.8 kB / 0.9615 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.914, allocations: 2.094 kB / 0.9615 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.914, allocations: 122.9 kB / 0.9616 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9141, allocations: 0 / 0.9616 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002841/0.9143, allocations: 16.09 kB / 0.9616 GB, free: 2.672 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.0001571/0.9145, allocations: 98.75 kB / 0.9617 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.9151, allocations: 215 kB / 0.9619 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9152, allocations: 0 / 0.9619 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.9155, allocations: 102.9 kB / 0.962 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.9158, allocations: 13.66 kB / 0.962 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.9165, allocations: 288.9 kB / 0.9623 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.9167, allocations: 0.7096 MB / 0.963 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.116e-05/0.9168, allocations: 37.92 kB / 0.963 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.9168, allocations: 11.31 kB / 0.963 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.9168, allocations: 0 / 0.963 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.003591/0.9204, allocations: 0.9764 MB / 0.964 GB, free: 0.9883 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