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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 115.1 kB / 17.08 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.994/2.994, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,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.002061/0.002062, allocations: 71.89 kB / 1.103 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9934/0.9954, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001888/0.9974, allocations: 0.7601 MB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.9976, allocations: 57.31 kB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.9977, allocations: 1.938 kB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.9978, allocations: 25.12 kB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.9979, allocations: 8.094 kB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.9981, allocations: 30.5 kB / 1.263 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.9983, allocations: 122.4 kB / 1.264 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.9986, allocations: 155.7 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.9987, allocations: 67.59 kB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.9988, allocations: 71.86 kB / 1.264 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.9988, allocations: 15.47 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.473e-05/0.9989, allocations: 12.19 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.999, allocations: 54.44 kB / 1.264 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.9991, allocations: 81.47 kB / 1.264 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.9994, allocations: 243.4 kB / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9994, allocations: 0 / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9994, allocations: 4.688 kB / 1.264 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.9994, allocations: 0 / 1.264 GB, free: 7.117 MB / 0.9981 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.0005303/0.9999, allocations: 0.4946 MB / 1.265 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1, allocations: 13.41 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/1, allocations: 28.12 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/1, allocations: 250.2 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/1, allocations: 19.45 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/1, allocations: 16 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/1.001, allocations: 335.6 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.001, allocations: 7.875 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/1.001, allocations: 10.06 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/1.001, allocations: 18.09 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/1.001, allocations: 262.9 kB / 1.266 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/1.003, allocations: 1.093 MB / 1.267 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/1.003, allocations: 178.5 kB / 1.267 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/1.003, allocations: 85.05 kB / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/1.003, allocations: 75.8 kB / 1.267 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.003, allocations: 111.2 kB / 1.267 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.003, allocations: 0.9062 kB / 1.267 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.706e-05/1.003, allocations: 56.33 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.003, allocations: 135.2 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/1.004, allocations: 0.4975 MB / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/1.004, allocations: 26.78 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.004, allocations: 169.2 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/1.004, allocations: 5.531 kB / 1.268 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/1.004, allocations: 29.91 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/1.004, allocations: 336.2 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/1.004, allocations: 49.25 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.004, allocations: 102.1 kB / 1.269 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/1.004, allocations: 116.5 kB / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.004, allocations: 0.7812 kB / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003964/1.005, allocations: 197.5 kB / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.005, allocations: 14.22 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.005, allocations: 1.688 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.005, allocations: 3.312 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/1.005, allocations: 18.84 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.005, allocations: 2.578 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/1.005, allocations: 37.09 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/1.005, allocations: 11.09 kB / 1.269 GB, free: 3.801 MB / 0.9981 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 0.0001376/1.005, allocations: 250 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/1.005, allocations: 136.2 kB / 1.269 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/1.005, allocations: 136.7 kB / 1.269 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.006, allocations: 182.4 kB / 1.27 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/1.006, allocations: 178 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/1.006, allocations: 181.5 kB / 1.27 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/1.006, allocations: 497.3 kB / 1.27 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.006, allocations: 102.4 kB / 1.271 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/1.006, allocations: 106.5 kB / 1.271 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.392e-05/1.006, allocations: 182.8 kB / 1.271 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/1.006, allocations: 181.9 kB / 1.271 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.595e-05/1.006, allocations: 182.8 kB / 1.271 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.507e-05/1.006, allocations: 190.4 kB / 1.271 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.006, allocations: 318.5 kB / 1.272 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.007, allocations: 219.5 kB / 1.272 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.007, allocations: 183.2 kB / 1.272 GB, free: 16.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/1.007, allocations: 108.9 kB / 1.272 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/1.007, allocations: 186.2 kB / 1.272 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/1.007, allocations: 102.9 kB / 1.272 GB, free: 16.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004589/1.007, allocations: 364.4 kB / 1.273 GB, free: 16.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.51e-07/1.007, allocations: 3.938 kB / 1.273 GB, free: 16.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002949/1.008, allocations: 24.75 kB / 1.273 GB, free: 16.1 MB / 1.014 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.0002081/1.008, allocations: 177.7 kB / 1.273 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001782/1.008, allocations: 74.31 kB / 1.273 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.008, allocations: 0 / 1.273 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.008, allocations: 0.6875 kB / 1.273 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/1.009, allocations: 477.8 kB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/1.01, allocations: 0.5055 MB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/1.01, allocations: 0.7754 MB / 1.275 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/1.01, allocations: 22.92 kB / 1.275 GB, free: 14.4 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/1.01, allocations: 0 / 1.275 GB, free: 14.4 MB / 1.014 GB Notification: Performance of Templates: time 0.005706/1.016, allocations: 2.65 MB / 1.277 GB, free: 14.2 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 800] 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_2/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 [Calling sys.exit(0), Time elapsed: 11.975078918039799]