Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 489.7 MB / 0.7761 GB, free: 2.391 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 75.88 kB / 1.127 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9026, allocations: 172 MB / 1.295 GB, free: 38.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001612/0.9043, allocations: 0.749 MB / 1.296 GB, free: 38.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.9045, allocations: 57.81 kB / 1.296 GB, free: 38.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.9045, allocations: 3.938 kB / 1.296 GB, free: 38.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.9046, allocations: 21.56 kB / 1.296 GB, free: 38.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.9047, allocations: 10.03 kB / 1.296 GB, free: 38.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.9048, allocations: 31.36 kB / 1.296 GB, free: 38.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.9049, allocations: 118.6 kB / 1.296 GB, free: 38.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.9052, allocations: 138 kB / 1.296 GB, free: 38.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.9052, allocations: 68.38 kB / 1.296 GB, free: 38.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.9053, allocations: 74.38 kB / 1.296 GB, free: 38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.9053, allocations: 10.88 kB / 1.296 GB, free: 38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.9053, allocations: 15.75 kB / 1.296 GB, free: 38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.9054, allocations: 53.8 kB / 1.296 GB, free: 37.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.9055, allocations: 89.59 kB / 1.296 GB, free: 37.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.9056, allocations: 237.1 kB / 1.297 GB, free: 37.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.9056, allocations: 4 kB / 1.297 GB, free: 37.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9057, allocations: 0 / 1.297 GB, free: 37.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9057, allocations: 0 / 1.297 GB, free: 37.82 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004085/0.9061, allocations: 0.5014 MB / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.9061, allocations: 8.938 kB / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.9061, allocations: 24.27 kB / 1.297 GB, free: 37.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.9063, allocations: 255.8 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9064, allocations: 10.72 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.9064, allocations: 20.27 kB / 1.297 GB, free: 37.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.9067, allocations: 341.9 kB / 1.298 GB, free: 36.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9068, allocations: 3.938 kB / 1.298 GB, free: 36.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.9068, allocations: 10.78 kB / 1.298 GB, free: 36.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.9068, allocations: 14.2 kB / 1.298 GB, free: 36.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.9071, allocations: 266.9 kB / 1.298 GB, free: 36.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.9079, allocations: 1.101 MB / 1.299 GB, free: 36.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.9079, allocations: 167.3 kB / 1.299 GB, free: 35.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.908, allocations: 80.17 kB / 1.299 GB, free: 35.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.908, allocations: 79.28 kB / 1.299 GB, free: 35.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.908, allocations: 110 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.908, allocations: 2.625 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.879e-05/0.9081, allocations: 56 kB / 1.299 GB, free: 35.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.9081, allocations: 130.7 kB / 1.3 GB, free: 35.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.9085, allocations: 0.4982 MB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.9085, allocations: 25.7 kB / 1.3 GB, free: 35.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.9086, allocations: 178.5 kB / 1.3 GB, free: 35.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.9086, allocations: 4 kB / 1.3 GB, free: 35.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.9086, allocations: 31.25 kB / 1.3 GB, free: 35.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.9087, allocations: 341 kB / 1.301 GB, free: 34.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.9087, allocations: 49.36 kB / 1.301 GB, free: 34.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.9088, allocations: 95.3 kB / 1.301 GB, free: 34.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.9089, allocations: 122.1 kB / 1.301 GB, free: 34.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9089, allocations: 0 / 1.301 GB, free: 34.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002349/0.9092, allocations: 190 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.9092, allocations: 9.5 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9092, allocations: 2.594 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9092, allocations: 2.938 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.9093, allocations: 18.08 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.9093, allocations: 3.031 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.9094, allocations: 46.97 kB / 1.301 GB, free: 34.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.9094, allocations: 9.438 kB / 1.301 GB, free: 34.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.596e-05/0.9095, allocations: 251 kB / 1.301 GB, free: 34.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.9095, allocations: 132.2 kB / 1.302 GB, free: 34.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.9096, allocations: 138.1 kB / 1.302 GB, free: 34.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.9096, allocations: 176.3 kB / 1.302 GB, free: 33.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.9096, allocations: 182.7 kB / 1.302 GB, free: 33.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.9096, allocations: 184.2 kB / 1.302 GB, free: 33.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.9098, allocations: 491.4 kB / 1.303 GB, free: 33.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.9098, allocations: 104.9 kB / 1.303 GB, free: 32.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.9098, allocations: 104.4 kB / 1.303 GB, free: 32.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.349e-05/0.9099, allocations: 191.3 kB / 1.303 GB, free: 32.63 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.9099, allocations: 180.2 kB / 1.303 GB, free: 32.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-05/0.9099, allocations: 184.3 kB / 1.303 GB, free: 32.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-05/0.9099, allocations: 188 kB / 1.304 GB, free: 32.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.929e-05/0.91, allocations: 335.1 kB / 1.304 GB, free: 31.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.9101, allocations: 211.2 kB / 1.304 GB, free: 31.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.9101, allocations: 183.3 kB / 1.304 GB, free: 31.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.9102, allocations: 112.2 kB / 1.304 GB, free: 31.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.9102, allocations: 179.5 kB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.9103, allocations: 105.2 kB / 1.305 GB, free: 30.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002711/0.9105, allocations: 369.8 kB / 1.305 GB, free: 30.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9105, allocations: 0 / 1.305 GB, free: 30.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002571/0.9108, allocations: 23.25 kB / 1.305 GB, free: 30.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001403/0.9109, allocations: 178.1 kB / 1.305 GB, free: 30.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.9111, allocations: 65.89 kB / 1.305 GB, free: 30.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9111, allocations: 0 / 1.305 GB, free: 30.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.9111, allocations: 3.734 kB / 1.305 GB, free: 30.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.9115, allocations: 485.9 kB / 1.306 GB, free: 30.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.912, allocations: 0.5092 MB / 1.306 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.9122, allocations: 0.7802 MB / 1.307 GB, free: 29.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.9122, allocations: 18.62 kB / 1.307 GB, free: 29.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.9122, allocations: 0 / 1.307 GB, free: 29.11 MB / 1.061 GB Notification: Performance of Templates: time 0.003734/0.916, allocations: 2.643 MB / 1.31 GB, free: 28.91 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches