Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.259/3.259, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0.7656 kB / 0.8777 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.281e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002032/0.002064, allocations: 0.7621 MB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003403, allocations: 0.8557 MB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.003457, allocations: 3.938 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.003705, allocations: 56.3 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.003781, allocations: 33.2 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.909e-05/0.00387, allocations: 19.97 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.004044, allocations: 95.69 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.004192, allocations: 20.72 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004308, allocations: 51.89 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.004486, allocations: 77.23 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.004519, allocations: 8 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.028e-05/0.004539, allocations: 8 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.004634, allocations: 40.75 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.004696, allocations: 23.92 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.004915, allocations: 125.2 kB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.00492, allocations: 4 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00492, allocations: 0 / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004926, allocations: 0 / 0.8798 GB, free: 4.273 MB / 0.8386 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.0009069/0.005833, allocations: 394.2 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.005881, allocations: 12.03 kB / 0.8802 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.005948, allocations: 16.84 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.006205, allocations: 146.7 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.006227, allocations: 4.359 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.006245, allocations: 4.375 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.006718, allocations: 152.5 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.00673, allocations: 1.531 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.006746, allocations: 4.312 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006751, allocations: 384 / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.007371, allocations: 175.8 kB / 0.8807 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.00832, allocations: 440.6 kB / 0.8811 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.008791, allocations: 157.1 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.009115, allocations: 90.48 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.009138, allocations: 7.922 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.009186, allocations: 46.44 kB / 0.8814 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.009187, allocations: 0 / 0.8814 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001048/0.01023, allocations: 285.7 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.01031, allocations: 77.11 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.01051, allocations: 166.9 kB / 0.8819 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.01054, allocations: 25.7 kB / 0.8819 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.01064, allocations: 108.1 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.01068, allocations: 27.73 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.01074, allocations: 21.72 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.01099, allocations: 326.8 kB / 0.8824 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.01128, allocations: 75.92 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.01158, allocations: 89.64 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.01217, allocations: 177.5 kB / 0.8827 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01217, allocations: 4 kB / 0.8827 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007262/0.0129, allocations: 209.4 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.01293, allocations: 4 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01294, allocations: 4 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.01296, allocations: 0 / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.01322, allocations: 39.89 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01323, allocations: 0 / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.01339, allocations: 31.91 kB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.0134, allocations: 8 kB / 0.883 GB, free: 0.8047 MB / 0.8386 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.0001474/0.01355, allocations: 125.8 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.01361, allocations: 15.89 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.01368, allocations: 20.33 kB / 0.8831 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01368, allocations: 4 kB / 0.8831 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.01369, allocations: 0 / 0.8831 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01369, allocations: 0 / 0.8831 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.01401, allocations: 157.3 kB / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01401, allocations: 0 / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.01422, allocations: 43.89 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01422, allocations: 0 / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01424, allocations: 3.938 kB / 0.8833 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.01424, allocations: 4 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01425, allocations: 0 / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.01503, allocations: 386.5 kB / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.01505, allocations: 12.09 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.01507, allocations: 3.938 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.01529, allocations: 31.95 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.01536, allocations: 7.984 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01537, allocations: 0 / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000128/0.0155, allocations: 123.2 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0155, allocations: 0 / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003151/0.01581, allocations: 27.89 kB / 0.8839 GB, free: 15.79 MB / 0.8542 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.0001682/0.01598, allocations: 95.25 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.01661, allocations: 167.8 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01662, allocations: 0 / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.01693, allocations: 91.86 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.01733, allocations: 19.92 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.01799, allocations: 257.8 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.01813, allocations: 108.1 kB / 0.8846 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.558e-05/0.01822, allocations: 27.97 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.01829, allocations: 12.5 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01829, allocations: 4 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.004569/0.02286, allocations: 1.257 MB / 0.8859 GB, free: 13.73 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.517255050013773]