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.001446/0.001446, allocations: 92.22 kB / 19.65 MB, free: 276 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.001683/0.001683, allocations: 169 kB / 23.02 MB, free: 1.551 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.063/1.063, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.23/2.23, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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 3.677e-06/3.677e-06, allocations: 0 / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.69e-05/4.058e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00252/0.002561, allocations: 0.7832 MB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.00419, allocations: 0.8755 MB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.004274, allocations: 0.6562 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.004546, allocations: 60.55 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.004627, allocations: 37.42 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.004739, allocations: 15.97 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004905, allocations: 99.67 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.005065, allocations: 11.94 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.005188, allocations: 59.86 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005359, allocations: 77.38 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.005393, allocations: 8 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.005414, allocations: 11.94 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.005496, allocations: 40.92 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.005552, allocations: 23.92 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.005726, allocations: 83.72 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005729, allocations: 1.125 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005731, allocations: 0 / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.005737, allocations: 0 / 0.8804 GB, free: 4.082 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.00074/0.006477, allocations: 482.2 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.006528, allocations: 12.03 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.00659, allocations: 16.84 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.006787, allocations: 149.3 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.006802, allocations: 4.375 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.006824, allocations: 9.969 kB / 0.881 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.007119, allocations: 122.1 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007132, allocations: 192 / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.007148, allocations: 384 / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.007161, allocations: 4.875 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.007276, allocations: 29.77 kB / 0.8812 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.008078, allocations: 490.6 kB / 0.8816 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.00832, allocations: 90.12 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.008387, allocations: 24.62 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.008401, allocations: 0 / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.008442, allocations: 49.41 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.008444, allocations: 1.094 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003387/0.008783, allocations: 77.58 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.008836, allocations: 77.11 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.009012, allocations: 218.5 kB / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.009034, allocations: 33.7 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.009121, allocations: 152.4 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.009166, allocations: 27.8 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.009224, allocations: 23.38 kB / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.009407, allocations: 0.5001 MB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.009456, allocations: 6.688 kB / 0.8829 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.009519, allocations: 35.3 kB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.009622, allocations: 47.72 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.009625, allocations: 0 / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001691/0.009794, allocations: 77.52 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.009814, allocations: 8 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-06/0.009821, allocations: 0 / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.009842, allocations: 1.844 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.009998, allocations: 31.97 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.01001, allocations: 0 / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.071e-05/0.01009, allocations: 23.88 kB / 0.8831 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.0101, allocations: 0.7188 kB / 0.8831 GB, free: 1.059 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.000129/0.01023, allocations: 169.1 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.01028, allocations: 11.89 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.01034, allocations: 21.25 kB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.01035, allocations: 4 kB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01035, allocations: 4 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01036, allocations: 3.938 kB / 0.8833 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.01064, allocations: 160.5 kB / 0.8834 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.01064, allocations: 0 / 0.8834 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01076, allocations: 27.98 kB / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.01076, allocations: 3.984 kB / 0.8835 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01078, allocations: 7.938 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01078, allocations: 0 / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01078, allocations: 0 / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.01109, allocations: 339 kB / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.01111, allocations: 7.953 kB / 0.8838 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01113, allocations: 11.94 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.01127, allocations: 15.97 kB / 0.8838 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.01134, allocations: 11.98 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01135, allocations: 4 kB / 0.8838 GB, free: 208 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001025/0.01146, allocations: 152 kB / 0.884 GB, free: 56 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01146, allocations: 0 / 0.884 GB, free: 56 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003102/0.01177, allocations: 19.95 kB / 0.884 GB, free: 36 kB / 0.8386 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.0001862/0.01195, allocations: 103.2 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.01216, allocations: 43.56 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01216, allocations: 0 / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.01223, allocations: 35.61 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.01268, allocations: 15.98 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01326, allocations: 226.4 kB / 0.8844 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.01334, allocations: 71.33 kB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.159e-05/0.01341, allocations: 24.44 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.01346, allocations: 16.48 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of SimCode: time 1.563e-06/0.01347, allocations: 0 / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.004175/0.01764, allocations: 1.257 MB / 0.8858 GB, free: 14.2 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.694759965874255]