Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009606/0.009606, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.89 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7959, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00182/0.7978, allocations: 0.743 MB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.798, allocations: 55.83 kB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.7981, allocations: 4 kB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.7982, allocations: 19.8 kB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.7983, allocations: 11.98 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.7984, allocations: 39.89 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.7986, allocations: 123.6 kB / 1.167 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.7988, allocations: 153.1 kB / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.7989, allocations: 63.8 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.799, allocations: 75.62 kB / 1.167 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.799, allocations: 12 kB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.001e-05/0.7991, allocations: 12 kB / 1.167 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.7991, allocations: 59.84 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.7992, allocations: 83.42 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.7994, allocations: 231.2 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7995, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7995, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7995, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 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.0005709/0.8, allocations: 0.5011 MB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.8001, allocations: 8.922 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.8002, allocations: 62.7 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.8002, allocations: 24.66 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.8005, allocations: 259.9 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.8005, allocations: 16.75 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.8005, allocations: 20.31 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.801, allocations: 340.9 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.801, allocations: 3.938 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.801, allocations: 4 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.8011, allocations: 23.98 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.8014, allocations: 259.9 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.8026, allocations: 1.08 MB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.8028, allocations: 177.1 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.8028, allocations: 88.17 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.8029, allocations: 79.27 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.8029, allocations: 110 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.8029, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001269/0.8031, allocations: 51.86 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.8032, allocations: 130.6 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.8038, allocations: 0.5004 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.8038, allocations: 29.64 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.8039, allocations: 171.7 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.8039, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.804, allocations: 33.7 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8041, allocations: 338.8 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.8042, allocations: 51.94 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.8043, allocations: 102.8 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.8044, allocations: 114.7 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8044, allocations: 4 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002874/0.8047, allocations: 189.1 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8048, allocations: 16.19 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.8048, allocations: 0 / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8048, allocations: 4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.8049, allocations: 19.98 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8049, allocations: 0 / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.805, allocations: 39.58 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.805, allocations: 8 kB / 1.173 GB, free: 12.98 MB / 0.9044 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.0001514/0.8052, allocations: 253 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.8053, allocations: 128.6 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.8054, allocations: 138.8 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/0.8054, allocations: 188.2 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.306e-05/0.8055, allocations: 176.3 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/0.8056, allocations: 180.2 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.8059, allocations: 497.1 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.8059, allocations: 105 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.806, allocations: 104.9 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.163e-05/0.8061, allocations: 180.2 kB / 1.174 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-05/0.8062, allocations: 196.1 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.868e-05/0.8062, allocations: 180.3 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-05/0.8063, allocations: 184.2 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.8065, allocations: 319.5 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.8066, allocations: 225.7 kB / 1.175 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.8067, allocations: 180.2 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.8069, allocations: 108.9 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.8069, allocations: 184.3 kB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.807, allocations: 105.3 kB / 1.176 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003824/0.8074, allocations: 370.9 kB / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8074, allocations: 0 / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002751/0.8077, allocations: 24 kB / 1.176 GB, free: 8.809 MB / 0.9044 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.0004735/0.8081, allocations: 0.8318 MB / 1.177 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.8083, allocations: 75.89 kB / 1.177 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8083, allocations: 0 / 1.177 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.8083, allocations: 0 / 1.177 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.8089, allocations: 487.3 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.8119, allocations: 3.304 MB / 1.181 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.8122, allocations: 0.7749 MB / 1.182 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.223e-05/0.8123, allocations: 49.52 kB / 1.182 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.8124, allocations: 59.42 kB / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.8124, allocations: 0 / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.8317, allocations: 4.612 MB / 1.186 GB, free: 14.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.829, allocations: 9.781 kB / 1.186 GB, free: 14.55 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches