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.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.0009227/0.0009227, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009381/0.0009381, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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.9221/0.9221, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.379/2.379, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",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.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.202e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.004734/0.004766, allocations: 0.7533 MB / 0.8906 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000233/0.004999, allocations: 51.83 kB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.005051, allocations: 4 kB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.005193, allocations: 11.86 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.005248, allocations: 19.84 kB / 0.8906 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.005403, allocations: 31.91 kB / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.005569, allocations: 127.7 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.005745, allocations: 88.89 kB / 0.8909 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.005844, allocations: 95.8 kB / 0.891 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.005928, allocations: 71.81 kB / 0.891 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.005958, allocations: 8 kB / 0.8911 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.881e-05/0.005986, allocations: 12 kB / 0.8911 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.00605, allocations: 55.83 kB / 0.8911 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.006106, allocations: 47.84 kB / 0.8912 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.006283, allocations: 167.4 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006286, allocations: 4 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.203e-06/0.006287, allocations: 3.938 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.006292, allocations: 0 / 0.8913 GB, free: 8.133 MB / 0.8542 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.0004562/0.006748, allocations: 0.5389 MB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.006785, allocations: 8.031 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.006846, allocations: 40.8 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.01005, allocations: 180.2 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.01007, allocations: 16.75 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.01009, allocations: 16.38 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.01035, allocations: 194.1 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01036, allocations: 8.125 kB / 0.8923 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.01038, allocations: 16.36 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.01041, allocations: 20.11 kB / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.01051, allocations: 67.95 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.01152, allocations: 1.005 MB / 0.8934 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.0116, allocations: 273.4 kB / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.01163, allocations: 126.9 kB / 0.8938 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01165, allocations: 119.2 kB / 0.8939 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.0117, allocations: 152.6 kB / 0.894 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.0117, allocations: 0 / 0.894 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.843e-05/0.01177, allocations: 49.55 kB / 0.8941 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.01182, allocations: 174.5 kB / 0.8942 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01201, allocations: 282.2 kB / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.01201, allocations: 25.7 kB / 0.8945 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01213, allocations: 242.7 kB / 0.8948 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.01213, allocations: 0 / 0.8948 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.01218, allocations: 31.36 kB / 0.8948 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.01231, allocations: 0.5078 MB / 0.8953 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.01233, allocations: 4 kB / 0.8953 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.439e-05/0.01238, allocations: 85.47 kB / 0.8954 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.01247, allocations: 93.36 kB / 0.8955 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01247, allocations: 0 / 0.8955 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001676/0.01264, allocations: 101.5 kB / 0.8956 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01265, allocations: 8 kB / 0.8956 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01266, allocations: 0 / 0.8956 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01267, allocations: 4 kB / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.01275, allocations: 19.98 kB / 0.8956 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01275, allocations: 4 kB / 0.8956 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.01582, allocations: 27.75 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01584, allocations: 8 kB / 0.8956 GB, free: 3.438 MB / 0.8542 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.000111/0.01595, allocations: 275.8 kB / 0.8959 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.01601, allocations: 156.8 kB / 0.896 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.01608, allocations: 165.4 kB / 0.8962 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.175e-05/0.01614, allocations: 268.1 kB / 0.8964 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.305e-05/0.0162, allocations: 272 kB / 0.8967 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.226e-05/0.01626, allocations: 264.1 kB / 0.897 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.01652, allocations: 0.5395 MB / 0.8975 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.01656, allocations: 148.8 kB / 0.8976 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.01659, allocations: 144.9 kB / 0.8978 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.229e-05/0.01666, allocations: 276 kB / 0.898 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.01672, allocations: 268.1 kB / 0.8983 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.43e-05/0.01678, allocations: 264.1 kB / 0.8985 GB, free: 340 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-05/0.01684, allocations: 276 kB / 0.8988 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.017, allocations: 459.8 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.01705, allocations: 157.1 kB / 0.8994 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.01712, allocations: 268.1 kB / 0.8996 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.0172, allocations: 156.9 kB / 0.8998 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.0175, allocations: 272 kB / 0.9001 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.01754, allocations: 152.8 kB / 0.9002 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.01763, allocations: 176.4 kB / 0.9004 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01763, allocations: 4 kB / 0.9004 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002626/0.0179, allocations: 39.78 kB / 0.9004 GB, free: 14.34 MB / 0.8698 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.0001339/0.01803, allocations: 214.4 kB / 0.9006 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.01812, allocations: 39.59 kB / 0.9007 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01812, allocations: 0 / 0.9007 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.01812, allocations: 0 / 0.9007 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.01856, allocations: 0.7294 MB / 0.9014 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.02102, allocations: 450.8 kB / 0.9018 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.179e-05/0.02108, allocations: 91.3 kB / 0.9019 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.02112, allocations: 12.98 kB / 0.9019 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.02118, allocations: 90.19 kB / 0.902 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/0.02119, allocations: 0 / 0.902 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of Templates: time 0.003126/0.02431, allocations: 1.047 MB / 0.903 GB, free: 11.64 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] 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","",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.130168384872377]