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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_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.006982/0.006982, allocations: 100.6 kB / 15.73 MB, free: 6.473 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.001426/0.001426, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.66/2.66, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2976, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001823/0.2995, allocations: 0.7428 MB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.2997, allocations: 59.81 kB / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.2998, allocations: 0 / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.2999, allocations: 19.86 kB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.3, allocations: 11.92 kB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.3002, allocations: 27.97 kB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3004, allocations: 119.6 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.3006, allocations: 158.5 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.3007, allocations: 71.78 kB / 1.209 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.3008, allocations: 75.62 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.3008, allocations: 12 kB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.592e-05/0.3009, allocations: 12 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.3009, allocations: 51.8 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.301, allocations: 87.42 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3012, allocations: 235.1 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3013, allocations: 4 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3013, allocations: 4 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3013, allocations: 0 / 1.209 GB, free: 8.406 MB / 0.9669 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.0005338/0.3018, allocations: 0.4914 MB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3019, allocations: 8.625 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.3019, allocations: 54.72 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.302, allocations: 32.66 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3023, allocations: 253.1 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3023, allocations: 12.75 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3023, allocations: 16.38 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.3028, allocations: 352.9 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3028, allocations: 0 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3028, allocations: 11.98 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.3029, allocations: 19.94 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3032, allocations: 267.8 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3043, allocations: 1.088 MB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.3044, allocations: 173.1 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.3045, allocations: 80.14 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3045, allocations: 79.28 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3045, allocations: 114 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.3045, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.19e-05/0.3046, allocations: 53.36 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3047, allocations: 126.7 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.3052, allocations: 0.4965 MB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3052, allocations: 25.7 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3053, allocations: 171.7 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.3053, allocations: 8 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.3054, allocations: 29.7 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.3055, allocations: 338.8 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.3055, allocations: 51.95 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.3056, allocations: 102.8 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3058, allocations: 114.7 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3058, allocations: 4 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000276/0.306, allocations: 193.2 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3061, allocations: 7.938 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3061, allocations: 4 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3061, allocations: 0 / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3062, allocations: 23.92 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3062, allocations: 4.25 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.3063, allocations: 43.53 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3063, allocations: 4 kB / 1.214 GB, free: 3.305 MB / 0.9669 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.0001419/0.3065, allocations: 249.1 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.3066, allocations: 132.6 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.3067, allocations: 134.8 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/0.3067, allocations: 188.2 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.734e-05/0.3068, allocations: 180.3 kB / 1.214 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/0.3068, allocations: 176.3 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.3071, allocations: 497 kB / 1.215 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.3071, allocations: 109 kB / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.3072, allocations: 105.4 kB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.131e-05/0.3072, allocations: 184.2 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.3073, allocations: 176.3 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.155e-05/0.3073, allocations: 184.2 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-05/0.3074, allocations: 184.5 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.3075, allocations: 331.5 kB / 1.216 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3077, allocations: 225.7 kB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.3078, allocations: 176.3 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3079, allocations: 108.9 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.3079, allocations: 184.2 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.308, allocations: 113 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003391/0.3083, allocations: 363 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3083, allocations: 0 / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000263/0.3086, allocations: 28 kB / 1.218 GB, free: 15.14 MB / 0.9825 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.0004222/0.309, allocations: 0.8318 MB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.3092, allocations: 67.89 kB / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3092, allocations: 0 / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3092, allocations: 4 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.3097, allocations: 485.2 kB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.313, allocations: 3.3 MB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.3133, allocations: 0.7788 MB / 1.223 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.122e-05/0.3134, allocations: 53.52 kB / 1.223 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.3135, allocations: 59.42 kB / 1.223 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/0.3135, allocations: 0 / 1.223 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3356, allocations: 4.655 MB / 1.227 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.136, allocations: 14.09 kB / 1.227 GB, free: 4.84 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) 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) Reference file matches