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.001531/0.001531, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001741/0.001741, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.22/2.22, allocations: 390.2 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.39 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2574, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002079/0.2595, allocations: 0.7663 MB / 0.951 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2605, allocations: 0.8333 MB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.2606, allocations: 0 / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.2608, allocations: 51.81 kB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.2609, allocations: 35.81 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.026e-05/0.2609, allocations: 19.98 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2611, allocations: 87.69 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2612, allocations: 27.98 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.2613, allocations: 43.83 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2614, allocations: 79.8 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2615, allocations: 8 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.2615, allocations: 12 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.2616, allocations: 39.89 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.2616, allocations: 43.72 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.2618, allocations: 107.7 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2618, allocations: 0 / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2618, allocations: 0 / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2618, allocations: 7.984 kB / 0.9524 GB, free: 6.688 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007221/0.2625, allocations: 459.1 kB / 0.9528 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2626, allocations: 12.03 kB / 0.9528 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.2626, allocations: 16.73 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2628, allocations: 212 kB / 0.9531 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2628, allocations: 384 / 0.9531 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2628, allocations: 4.375 kB / 0.9531 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.2632, allocations: 151.9 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2633, allocations: 4.188 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2633, allocations: 3.938 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2633, allocations: 0 / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.2638, allocations: 175.8 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.2646, allocations: 0.4931 MB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.265, allocations: 169 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.2653, allocations: 89.73 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2653, allocations: 7.984 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2653, allocations: 42.5 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.2653, allocations: 0 / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0008823/0.2662, allocations: 289.2 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2663, allocations: 77.11 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2664, allocations: 161.3 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2664, allocations: 25.7 kB / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.2665, allocations: 108.1 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2665, allocations: 35.48 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2666, allocations: 17.72 kB / 0.9548 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2667, allocations: 330.8 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.267, allocations: 75.92 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.2672, allocations: 93.64 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.2677, allocations: 169.6 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2677, allocations: 4 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005648/0.2683, allocations: 209.4 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2683, allocations: 4 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2683, allocations: 0 / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2683, allocations: 0 / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.2686, allocations: 35.95 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2686, allocations: 0 / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2687, allocations: 31.91 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2687, allocations: 0 / 0.9558 GB, free: 2.98 MB / 0.7325 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.727e-05/0.2688, allocations: 137.7 kB / 0.9559 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2689, allocations: 11.81 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.2689, allocations: 20.23 kB / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.269, allocations: 4 kB / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.269, allocations: 0 / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.269, allocations: 0 / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.2693, allocations: 225.5 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2693, allocations: 0 / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2695, allocations: 39.95 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2695, allocations: 4 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2695, allocations: 4 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2695, allocations: 3.938 kB / 0.9562 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2695, allocations: 0 / 0.9562 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.2701, allocations: 391.1 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.2702, allocations: 92.91 kB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2702, allocations: 3.984 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2704, allocations: 19.97 kB / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.2705, allocations: 15.98 kB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2705, allocations: 4 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.2706, allocations: 124.1 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2706, allocations: 3.938 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002778/0.2709, allocations: 16 kB / 0.9568 GB, free: 1.789 MB / 0.7325 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.0001421/0.271, allocations: 107.2 kB / 0.9569 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005835/0.2716, allocations: 179.7 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2716, allocations: 0 / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.2719, allocations: 91.86 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.2723, allocations: 11.98 kB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.2729, allocations: 299 kB / 0.9575 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.2732, allocations: 0.7156 MB / 0.9582 GB, free: 340 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.2732, allocations: 15.44 kB / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.2732, allocations: 0 / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of Templates: time 0.003393/0.2766, allocations: 1.486 MB / 0.9597 GB, free: 14.84 MB / 0.7481 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