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.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.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.001235/0.001235, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 198.1 kB / 16.79 MB, free: 6.828 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.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.335/2.335, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6119, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001818/0.6138, allocations: 0.8307 MB / 0.9504 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.6145, allocations: 0.8292 MB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.6145, allocations: 0 / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.6147, allocations: 51.38 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.6148, allocations: 41.56 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.187e-05/0.6149, allocations: 14.73 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.615, allocations: 80.89 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.6151, allocations: 22.92 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.6152, allocations: 39.03 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.6153, allocations: 84.83 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.6153, allocations: 5.5 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.6153, allocations: 4.125 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.6154, allocations: 32.28 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.6155, allocations: 41.36 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.6156, allocations: 88.58 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6156, allocations: 0 / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6156, allocations: 3.938 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6156, allocations: 0 / 0.9517 GB, free: 7.52 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.000676/0.6163, allocations: 467.8 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6163, allocations: 10.47 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.6163, allocations: 9.062 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6165, allocations: 200.4 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.6165, allocations: 5.625 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6165, allocations: 8.812 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.6169, allocations: 148.5 kB / 0.9525 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6169, allocations: 4.125 kB / 0.9525 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6169, allocations: 4.938 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6169, allocations: 0.9688 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.6174, allocations: 176 kB / 0.9527 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.6181, allocations: 0.5049 MB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.6185, allocations: 157.3 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.6187, allocations: 97.83 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6188, allocations: 5.234 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.6188, allocations: 35.91 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.6188, allocations: 0 / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0008174/0.6196, allocations: 285.7 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.6196, allocations: 79.14 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.6198, allocations: 166.3 kB / 0.954 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.6198, allocations: 29.7 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.6198, allocations: 101.8 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.6199, allocations: 30.73 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.6199, allocations: 28.41 kB / 0.9542 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.62, allocations: 326.4 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.6202, allocations: 75.42 kB / 0.9545 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.6204, allocations: 100.2 kB / 0.9546 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.6209, allocations: 172.8 kB / 0.9548 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6209, allocations: 0 / 0.9548 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004782/0.6213, allocations: 202.3 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6214, allocations: 4.906 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.6214, allocations: 5.219 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6214, allocations: 0 / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.6216, allocations: 42.61 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6216, allocations: 1.125 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.6218, allocations: 29.92 kB / 0.9551 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.6218, allocations: 2.406 kB / 0.9551 GB, free: 4.797 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 7.635e-05/0.6219, allocations: 132.1 kB / 0.9552 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.6219, allocations: 13.56 kB / 0.9552 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.622, allocations: 17.5 kB / 0.9552 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.622, allocations: 5.031 kB / 0.9552 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.622, allocations: 1.062 kB / 0.9552 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.622, allocations: 3.984 kB / 0.9552 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.6222, allocations: 227.2 kB / 0.9555 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6222, allocations: 0 / 0.9555 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.6224, allocations: 39.61 kB / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6224, allocations: 1.156 kB / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.6224, allocations: 0 / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6224, allocations: 5.25 kB / 0.9555 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6224, allocations: 0.8125 kB / 0.9555 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.6229, allocations: 380.9 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.623, allocations: 91.7 kB / 0.956 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.623, allocations: 6.281 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.6232, allocations: 29.05 kB / 0.956 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.6233, allocations: 7.734 kB / 0.956 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6233, allocations: 1.5 kB / 0.956 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.229e-05/0.6233, allocations: 122.3 kB / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6233, allocations: 0 / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002716/0.6236, allocations: 19.91 kB / 0.9561 GB, free: 3.867 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.0001147/0.6237, allocations: 111.7 kB / 0.9562 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.6242, allocations: 169.2 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6242, allocations: 0 / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.6245, allocations: 96.48 kB / 0.9565 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.6248, allocations: 11.77 kB / 0.9565 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.6253, allocations: 312.2 kB / 0.9568 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.6254, allocations: 0.713 MB / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.6255, allocations: 11.41 kB / 0.9575 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6255, allocations: 0 / 0.9575 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.002639/0.6281, allocations: 1.49 MB / 0.959 GB, free: 1.914 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/jenkins1/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