Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001331/0.001331, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001558/0.001558, allocations: 161.4 kB / 24.16 MB, free: 336 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.975/0.975, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.977/1.977, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.913e-05, allocations: 6.938 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001244/0.001263, allocations: 0.7852 MB / 0.7609 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000858/0.002121, allocations: 0.8717 MB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.002167, allocations: 0 / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.002344, allocations: 60.45 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.002401, allocations: 37.77 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.103e-05/0.002462, allocations: 19.97 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.002565, allocations: 91.69 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.002652, allocations: 16.95 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.002727, allocations: 59.86 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.002836, allocations: 68.64 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.002858, allocations: 8.594 kB / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.00287, allocations: 8 kB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.002921, allocations: 36.83 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.002952, allocations: 27.92 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003056, allocations: 92.45 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003058, allocations: 0 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003058, allocations: 0 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.003061, allocations: 1.406 kB / 0.7622 GB, free: 4.426 MB / 0.7136 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.0003579/0.003419, allocations: 330.2 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.003446, allocations: 8.031 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.003474, allocations: 12.92 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.003594, allocations: 140.6 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.003602, allocations: 384 / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.003615, allocations: 13.69 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.003764, allocations: 111.4 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.00377, allocations: 1.438 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.00378, allocations: 4.375 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003786, allocations: 4.375 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.017e-05/0.003837, allocations: 25.58 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.004145, allocations: 318.1 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.004263, allocations: 155.4 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.004295, allocations: 21.89 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.004306, allocations: 0.5312 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004327, allocations: 43.22 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.004328, allocations: 0 / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001431/0.004471, allocations: 74.75 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.004504, allocations: 77.11 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.004572, allocations: 146.6 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.004584, allocations: 30.92 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.004615, allocations: 100 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.004637, allocations: 19.81 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.004668, allocations: 27.19 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.004743, allocations: 322.8 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.004764, allocations: 10.83 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.004791, allocations: 21.7 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.004841, allocations: 46.86 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004842, allocations: 0 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.153e-05/0.004914, allocations: 64.08 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.004923, allocations: 4 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004928, allocations: 4.688 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.004939, allocations: 7.938 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.005017, allocations: 26.11 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.00502, allocations: 3.938 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.005056, allocations: 19.88 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.005061, allocations: 0 / 0.7643 GB, free: 2.078 MB / 0.7136 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 5.569e-05/0.005117, allocations: 113.6 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.00514, allocations: 8 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.005169, allocations: 24.27 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00517, allocations: 2.656 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005172, allocations: 0 / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005174, allocations: 0 / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.005338, allocations: 101.8 kB / 0.7645 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.00534, allocations: 0 / 0.7645 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.005411, allocations: 23.92 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.005415, allocations: 7.125 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.005421, allocations: 0 / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005422, allocations: 0 / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005424, allocations: 3.938 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.005573, allocations: 325.9 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.005583, allocations: 7.953 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005595, allocations: 0 / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.00567, allocations: 7.984 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.005709, allocations: 21.61 kB / 0.7649 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.005714, allocations: 4 kB / 0.7649 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.005743, allocations: 39.22 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005743, allocations: 0 / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001468/0.005889, allocations: 23.89 kB / 0.765 GB, free: 1.336 MB / 0.7136 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 7.501e-05/0.005964, allocations: 83.66 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.006049, allocations: 36.78 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.006051, allocations: 0 / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.006082, allocations: 20.84 kB / 0.7651 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.006276, allocations: 16 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.006604, allocations: 239.4 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.006649, allocations: 71.33 kB / 0.7654 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.006676, allocations: 4 kB / 0.7654 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.006736, allocations: 56.78 kB / 0.7655 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.006736, allocations: 3.938 kB / 0.7655 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of Templates: time 0.002599/0.009335, allocations: 1.161 MB / 0.7666 GB, free: 15.65 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.07321049598977]