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.0008566/0.0008566, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009536/0.0009536, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.109/2.109, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8795 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.584e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001443/0.001469, allocations: 0.777 MB / 0.8802 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.002383, allocations: 0.868 MB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.002436, allocations: 3.438 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.002612, allocations: 63.72 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.002656, allocations: 31.78 kB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.782e-05/0.002714, allocations: 23.97 kB / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.002811, allocations: 91.73 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.002902, allocations: 19.86 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.002968, allocations: 51.89 kB / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.003081, allocations: 76.45 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.0031, allocations: 8 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.003111, allocations: 8.594 kB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.00316, allocations: 40.78 kB / 0.8815 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.003191, allocations: 27.91 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.647e-05/0.003287, allocations: 87.7 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00329, allocations: 0.7188 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00329, allocations: 0 / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003294, allocations: 1.531 kB / 0.8816 GB, free: 3.781 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.0003762/0.00367, allocations: 460.9 kB / 0.882 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.003698, allocations: 8.031 kB / 0.882 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.003732, allocations: 16.84 kB / 0.8821 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.00385, allocations: 150.9 kB / 0.8822 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.003858, allocations: 4.375 kB / 0.8822 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.003866, allocations: 8.375 kB / 0.8822 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.004014, allocations: 114.2 kB / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-06/0.00402, allocations: 192 / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004027, allocations: 384 / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004032, allocations: 4.375 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.004081, allocations: 23.91 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.004464, allocations: 451.2 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.004577, allocations: 82.05 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.004612, allocations: 23.55 kB / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.004621, allocations: 4 kB / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.004645, allocations: 37.39 kB / 0.8829 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.004647, allocations: 3.938 kB / 0.8829 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001743/0.004821, allocations: 81.5 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.004858, allocations: 81.11 kB / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.004955, allocations: 209.8 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.004966, allocations: 25.7 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.005032, allocations: 166.7 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.005058, allocations: 27.81 kB / 0.8835 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.005097, allocations: 27.36 kB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.005228, allocations: 0.4962 MB / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.005252, allocations: 8 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.005288, allocations: 39.3 kB / 0.884 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.005345, allocations: 39.72 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005347, allocations: 0 / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.856e-05/0.005445, allocations: 69.58 kB / 0.8841 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.00546, allocations: 7.938 kB / 0.8842 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.005465, allocations: 3.984 kB / 0.8842 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.005473, allocations: 4 kB / 0.8842 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.005561, allocations: 23.98 kB / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.005564, allocations: 0 / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.005611, allocations: 19.89 kB / 0.8842 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.005618, allocations: 0 / 0.8842 GB, free: 0.8555 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 8.425e-05/0.005702, allocations: 156.6 kB / 0.8843 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.005736, allocations: 19.89 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.005772, allocations: 20.28 kB / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.005775, allocations: 0 / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.005779, allocations: 4 kB / 0.8844 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005782, allocations: 4 kB / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.005936, allocations: 133.2 kB / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005937, allocations: 0 / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.005996, allocations: 23.98 kB / 0.8845 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005997, allocations: 0 / 0.8845 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.006006, allocations: 4 kB / 0.8845 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006007, allocations: 0 / 0.8845 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.006009, allocations: 3.938 kB / 0.8846 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.006196, allocations: 331 kB / 0.8849 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.00621, allocations: 11.95 kB / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.006223, allocations: 11.92 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.00629, allocations: 8 kB / 0.8849 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.006333, allocations: 19.91 kB / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.006337, allocations: 0 / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.585e-05/0.006403, allocations: 151.2 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006403, allocations: 0 / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001713/0.006574, allocations: 19.95 kB / 0.8851 GB, free: 15.89 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.0001056/0.00668, allocations: 103.2 kB / 0.8852 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.006773, allocations: 39.59 kB / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006774, allocations: 4 kB / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.00681, allocations: 27.61 kB / 0.8852 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.007063, allocations: 23.56 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.007401, allocations: 226.3 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.646e-05/0.007448, allocations: 75.33 kB / 0.8856 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.00748, allocations: 8 kB / 0.8856 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.007555, allocations: 78.19 kB / 0.8856 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.007556, allocations: 0 / 0.8856 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of Templates: time 0.002776/0.01033, allocations: 1.38 MB / 0.887 GB, free: 13.88 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.467246649321169]