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.001132/0.001132, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001018/0.001018, allocations: 173 kB / 23.49 MB, free: 1.059 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.056/1.056, allocations: 177.1 MB / 203.8 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.209/2.209, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.276e-06/3.276e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.67e-05, allocations: 5.125 kB / 0.8783 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00165/0.001687, allocations: 0.7793 MB / 0.879 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.002624, allocations: 0.8758 MB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.002691, allocations: 0 / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.002904, allocations: 56.41 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.00296, allocations: 43.75 kB / 0.88 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.044e-05/0.00304, allocations: 19.97 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.003153, allocations: 83.77 kB / 0.8801 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.003282, allocations: 19.91 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.003369, allocations: 55.89 kB / 0.8801 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.00351, allocations: 80.75 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.003539, allocations: 8 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.003553, allocations: 9.031 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.003621, allocations: 39.84 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.003669, allocations: 31.86 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.003827, allocations: 80.91 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.003834, allocations: 0 / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/0.003836, allocations: 0 / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.003843, allocations: 1.062 kB / 0.8804 GB, free: 4.41 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.0005748/0.004417, allocations: 481 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.004465, allocations: 12.03 kB / 0.8808 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.004519, allocations: 21.5 kB / 0.8809 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.004704, allocations: 150.1 kB / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004714, allocations: 384 / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.00473, allocations: 13.53 kB / 0.881 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.004956, allocations: 110.2 kB / 0.8811 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004962, allocations: 0.7812 kB / 0.8811 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.004976, allocations: 4.375 kB / 0.8811 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.004984, allocations: 1.75 kB / 0.8811 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.005069, allocations: 31.91 kB / 0.8812 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.005598, allocations: 491.4 kB / 0.8816 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.005766, allocations: 90.69 kB / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.005816, allocations: 27.38 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.005826, allocations: 1.438 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.005852, allocations: 41.33 kB / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.005853, allocations: 0 / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002388/0.006092, allocations: 82.31 kB / 0.8819 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.006135, allocations: 81.11 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.006258, allocations: 219.5 kB / 0.8822 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.006271, allocations: 25.7 kB / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.006333, allocations: 154.8 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.006367, allocations: 39.25 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.006411, allocations: 31.38 kB / 0.8824 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.006537, allocations: 0.4923 MB / 0.8829 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.006574, allocations: 4 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.006622, allocations: 35.3 kB / 0.8829 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.314e-05/0.006696, allocations: 47.73 kB / 0.883 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.006698, allocations: 0 / 0.883 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001275/0.006826, allocations: 81.5 kB / 0.883 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.006843, allocations: 4 kB / 0.883 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.00685, allocations: 0.7812 kB / 0.883 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.006869, allocations: 0 / 0.883 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.006996, allocations: 31.97 kB / 0.8831 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.007003, allocations: 0 / 0.8831 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.007059, allocations: 31.88 kB / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.007066, allocations: 0 / 0.8831 GB, free: 1.375 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.096e-05/0.007147, allocations: 156.6 kB / 0.8832 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.007181, allocations: 23.83 kB / 0.8833 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.007219, allocations: 16.33 kB / 0.8833 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.007223, allocations: 4 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.007228, allocations: 0 / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007232, allocations: 0 / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.007496, allocations: 160.6 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.007499, allocations: 0 / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.261e-05/0.007581, allocations: 27.97 kB / 0.8835 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.007585, allocations: 0 / 0.8835 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.007597, allocations: 7.938 kB / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007599, allocations: 0 / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0076, allocations: 0 / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.007806, allocations: 351 kB / 0.8838 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.007821, allocations: 7.953 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.007838, allocations: 3.938 kB / 0.8838 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.00792, allocations: 15.98 kB / 0.8838 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.00798, allocations: 15.97 kB / 0.8839 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.007986, allocations: 4 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.008052, allocations: 147.2 kB / 0.884 GB, free: 392 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008052, allocations: 0 / 0.884 GB, free: 392 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001908/0.008243, allocations: 27.89 kB / 0.884 GB, free: 364 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.00013/0.008373, allocations: 103.2 kB / 0.8841 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.008526, allocations: 39.61 kB / 0.8842 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.00853, allocations: 4 kB / 0.8842 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.008575, allocations: 35.61 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.008864, allocations: 12 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.009331, allocations: 230.6 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.009381, allocations: 75.33 kB / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.275e-05/0.009434, allocations: 19.97 kB / 0.8845 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.009482, allocations: 12.5 kB / 0.8845 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of SimCode: time 1.562e-06/0.009484, allocations: 0 / 0.8845 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.003413/0.0129, allocations: 1.256 MB / 0.8858 GB, free: 14.52 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.843654179945588]