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.001201/0.001201, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001684/0.002885, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0009439/0.0009439, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002294, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.126, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.966/1.966, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6583/2.624, allocations: 123.3 MB / 0.7283 GB, free: 5.684 MB / 0.698 GB " [Timeout remaining time 177] 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 2.675e-06/2.675e-06, allocations: 0 / 0.7297 GB, free: 4.301 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.648e-05/4.915e-05, allocations: 3.531 kB / 0.7297 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001986/0.002035, allocations: 0.8179 MB / 0.7305 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.003299, allocations: 0.8838 MB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.003386, allocations: 0.875 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.003594, allocations: 52.58 kB / 0.7314 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.003675, allocations: 46.41 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.575e-05/0.003771, allocations: 23.97 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003946, allocations: 90.38 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.0041, allocations: 17.38 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.004261, allocations: 66.61 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.004436, allocations: 72.84 kB / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.004472, allocations: 8 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.00449, allocations: 8 kB / 0.7318 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.004562, allocations: 28.7 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.004604, allocations: 19.94 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004768, allocations: 84.25 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.906e-05/0.004787, allocations: 0.9062 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004788, allocations: 0 / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.004809, allocations: 0 / 0.7319 GB, free: 2.137 MB / 0.698 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.0006751/0.005484, allocations: 338.3 kB / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.00554, allocations: 8.031 kB / 0.7322 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.005594, allocations: 16.92 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.005811, allocations: 141.2 kB / 0.7324 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005826, allocations: 5.781 kB / 0.7324 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.005849, allocations: 4.375 kB / 0.7324 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.006106, allocations: 115.3 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.00612, allocations: 5.297 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.006133, allocations: 4.359 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.006141, allocations: 4.375 kB / 0.7325 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.006201, allocations: 22.09 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.006658, allocations: 318.3 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.006857, allocations: 154.8 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.006899, allocations: 18.38 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.006912, allocations: 4 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.006943, allocations: 35.81 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.006945, allocations: 4 kB / 0.733 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002381/0.007183, allocations: 69.64 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.007239, allocations: 82.67 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.007354, allocations: 146.6 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.007372, allocations: 25.7 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.007429, allocations: 96.11 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.007469, allocations: 29.08 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.007515, allocations: 25.7 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.007638, allocations: 318.8 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.007668, allocations: 10.83 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.007726, allocations: 30.39 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.007803, allocations: 46.06 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.007805, allocations: 1.125 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.00792, allocations: 67.75 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.00794, allocations: 6.812 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.007947, allocations: 4.906 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.007965, allocations: 3.938 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.008097, allocations: 25.23 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.008103, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.008147, allocations: 12.83 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.008156, allocations: 7.938 kB / 0.734 GB, free: 15.78 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 9.21e-05/0.008248, allocations: 113.2 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.008283, allocations: 13.02 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.008332, allocations: 24.28 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008334, allocations: 0 / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.00834, allocations: 8.938 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.008346, allocations: 0 / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.008515, allocations: 93.8 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.008518, allocations: 5.219 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.008603, allocations: 23.92 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.008619, allocations: 11.89 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.008623, allocations: 1.594 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.008636, allocations: 8 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.008642, allocations: 3.938 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008644, allocations: 0 / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.008886, allocations: 318.1 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008902, allocations: 4 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.008977, allocations: 12.73 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.009035, allocations: 20.61 kB / 0.7346 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.00904, allocations: 0 / 0.7346 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.009082, allocations: 41.22 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.009082, allocations: 0 / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001578/0.009239, allocations: 20 kB / 0.7347 GB, free: 15.03 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 0.0001487/0.009388, allocations: 76.42 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.00951, allocations: 34.12 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.00952, allocations: 4 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.009572, allocations: 28.78 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.009892, allocations: 106.3 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.01055, allocations: 247.8 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.01061, allocations: 67.34 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.247e-05/0.01066, allocations: 3.984 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.01075, allocations: 67.36 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.01075, allocations: 3.031 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.003481/0.01424, allocations: 1.195 MB / 0.7365 GB, free: 13.19 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.152660553343594]