Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.009992/0.009992, allocations: 101 kB / 15.73 MB, free: 6.441 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.001822/0.001822, allocations: 195.9 kB / 16.68 MB, free: 6.355 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 69.92 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002104/0.3021, allocations: 0.7408 MB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.3024, allocations: 55.84 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.3024, allocations: 4 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.3026, allocations: 19.8 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.3027, allocations: 11.98 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3029, allocations: 27.95 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3031, allocations: 123.6 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3034, allocations: 156.5 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.3034, allocations: 63.8 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.571e-05/0.3036, allocations: 79.56 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3036, allocations: 12 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.803e-05/0.3036, allocations: 12.34 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.3037, allocations: 55.84 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3038, allocations: 87.42 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3041, allocations: 235.1 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3041, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3041, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3041, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005739/0.3047, allocations: 494.7 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3047, allocations: 12.03 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/0.3048, allocations: 66.64 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3049, allocations: 32.56 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3052, allocations: 245 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3052, allocations: 16.75 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3052, allocations: 16.38 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.3057, allocations: 344.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3057, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3057, allocations: 7.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.3058, allocations: 16 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.3061, allocations: 259.8 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.3073, allocations: 1.08 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.3074, allocations: 169.1 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.3074, allocations: 84.14 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3075, allocations: 79.28 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.3075, allocations: 106 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3075, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001075/0.3076, allocations: 49.36 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3077, allocations: 130.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.3082, allocations: 0.5042 MB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3083, allocations: 29.64 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3084, allocations: 163.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.3084, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.3085, allocations: 29.7 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3086, allocations: 346.8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.3087, allocations: 43.97 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.3088, allocations: 93.97 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3089, allocations: 105.9 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.3089, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003061/0.3092, allocations: 185.1 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3093, allocations: 13.81 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3093, allocations: 0 / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3093, allocations: 12.16 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3094, allocations: 19.98 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3094, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3095, allocations: 31.69 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3096, allocations: 11.94 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001598/0.3097, allocations: 253 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.3098, allocations: 136.5 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.3099, allocations: 134.8 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.218e-05/0.31, allocations: 184.3 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.168e-05/0.3101, allocations: 176.3 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-05/0.3101, allocations: 189.6 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.3105, allocations: 485.1 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/0.3105, allocations: 108.9 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.3106, allocations: 105 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.3106, allocations: 188.2 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.3107, allocations: 184.2 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.631e-05/0.3108, allocations: 176.3 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-05/0.3109, allocations: 184.2 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.311, allocations: 331.5 kB / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3112, allocations: 214.1 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.3113, allocations: 184.2 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3114, allocations: 108.9 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.3115, allocations: 184.3 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.3115, allocations: 108.9 kB / 1.097 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003907/0.3119, allocations: 363 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 0 / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002902/0.3122, allocations: 24 kB / 1.098 GB, free: 7.07 MB / 0.8575 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.0005131/0.3128, allocations: 0.8319 MB / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3129, allocations: 71.95 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3129, allocations: 0 / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.933e-06/0.3129, allocations: 7.938 kB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.3135, allocations: 477.4 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.3169, allocations: 3.279 MB / 1.102 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3173, allocations: 0.7787 MB / 1.103 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.156e-05/0.3174, allocations: 45.53 kB / 1.103 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3175, allocations: 63.41 kB / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3175, allocations: 0 / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.3396, allocations: 4.584 MB / 1.108 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.038, allocations: 8 kB / 1.108 GB, free: 12.86 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches