Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008021/0.0008021, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00105/0.00105, allocations: 181 kB / 24.09 MB, free: 420 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 0.9218/0.9218, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.737/1.737, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.547e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001333/0.001358, allocations: 0.7657 MB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.002131, allocations: 0.8748 MB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.002178, allocations: 8.938 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.00234, allocations: 51.84 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.002387, allocations: 36.94 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.04e-05/0.002448, allocations: 23.97 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.24e-05/0.00254, allocations: 92.23 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.002638, allocations: 16.62 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.00272, allocations: 59.86 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.002833, allocations: 76.75 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.002855, allocations: 8 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.002866, allocations: 4.656 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.002917, allocations: 39.89 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.00295, allocations: 29.58 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003057, allocations: 79.72 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003059, allocations: 0 / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00306, allocations: 4 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003064, allocations: 1.344 kB / 0.7897 GB, free: 9.965 MB / 0.7448 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.0003633/0.003427, allocations: 461.6 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.003458, allocations: 8.031 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.003484, allocations: 12.89 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.00359, allocations: 148.3 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.003599, allocations: 11.91 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.003609, allocations: 4.375 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.003759, allocations: 114.2 kB / 0.7905 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003765, allocations: 4.125 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003773, allocations: 384 / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003778, allocations: 384 / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.003824, allocations: 23.86 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.004162, allocations: 448 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.00426, allocations: 74.83 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.004289, allocations: 23.38 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.004299, allocations: 4.531 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.004318, allocations: 42.61 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.004319, allocations: 0 / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001558/0.004475, allocations: 85.8 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.004503, allocations: 77.64 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.004666, allocations: 216.2 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004677, allocations: 30.92 kB / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.004727, allocations: 154.8 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.00475, allocations: 23.84 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.004783, allocations: 32.36 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.004885, allocations: 0.4923 MB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.004907, allocations: 11.98 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.00494, allocations: 32.33 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.004988, allocations: 43.39 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.004989, allocations: 0.9062 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.442e-05/0.005074, allocations: 73.53 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005085, allocations: 7.938 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.005088, allocations: 1.031 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.005098, allocations: 0 / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.005179, allocations: 22.83 kB / 0.7923 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.005182, allocations: 0 / 0.7923 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.005217, allocations: 19.92 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.005222, allocations: 4 kB / 0.7923 GB, free: 7.066 MB / 0.7448 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 6.059e-05/0.005283, allocations: 160.5 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.005311, allocations: 19.91 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.00534, allocations: 25.8 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.005341, allocations: 0 / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005342, allocations: 0 / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005345, allocations: 0 / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.00548, allocations: 129.2 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005481, allocations: 0.625 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.005536, allocations: 24.55 kB / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005538, allocations: 0.5625 kB / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.005544, allocations: 3.984 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.005546, allocations: 4.688 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.005548, allocations: 3.938 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.0057, allocations: 336.4 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.005712, allocations: 15.91 kB / 0.793 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.005722, allocations: 0 / 0.793 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.005786, allocations: 12.8 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.005825, allocations: 15.92 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-06/0.005829, allocations: 1.781 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.005882, allocations: 156.8 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005882, allocations: 0 / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001588/0.006041, allocations: 16 kB / 0.7932 GB, free: 6.105 MB / 0.7448 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 8.701e-05/0.006128, allocations: 104.6 kB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.305e-05/0.006211, allocations: 43.66 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.006213, allocations: 1 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.006243, allocations: 24 kB / 0.7934 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.006477, allocations: 21.14 kB / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.006781, allocations: 239 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.006824, allocations: 76.61 kB / 0.7937 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.006857, allocations: 8.078 kB / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.006924, allocations: 74.2 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.006924, allocations: 3.812 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.002616/0.00954, allocations: 1.342 MB / 0.7951 GB, free: 4.145 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.733070346992463]