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.007799/0.007799, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001868/0.001868, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.192/2.192, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 3.018/3.018, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 65.25 kB / 0.9505 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3822, allocations: 140.4 MB / 1.088 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.003006/0.3852, allocations: 0.7486 MB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.3856, allocations: 51.83 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.3857, allocations: 4 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3859, allocations: 19.8 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.386, allocations: 7.984 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3862, allocations: 23.98 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3865, allocations: 131.6 kB / 1.088 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.3869, allocations: 152.5 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.387, allocations: 67.78 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3871, allocations: 83.64 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.3872, allocations: 12 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.3873, allocations: 8.344 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3874, allocations: 51.86 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.3875, allocations: 87.41 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.3879, allocations: 231.1 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3879, allocations: 0 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.987e-06/0.3879, allocations: 0 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3879, allocations: 3.938 kB / 1.089 GB, free: 244 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.0008078/0.3887, allocations: 0.4987 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3888, allocations: 8.031 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.3889, allocations: 54.73 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.389, allocations: 28.56 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.3894, allocations: 253 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3895, allocations: 8.75 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.3895, allocations: 16.38 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.3903, allocations: 352.6 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3903, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3903, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.3904, allocations: 19.98 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.3909, allocations: 255.9 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3927, allocations: 1.08 MB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3928, allocations: 177.1 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.3929, allocations: 80.14 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.3929, allocations: 75.28 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.393, allocations: 106 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.393, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001492/0.3932, allocations: 61.36 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.3933, allocations: 134.6 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.3941, allocations: 0.4964 MB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3941, allocations: 25.7 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3943, allocations: 167.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/0.3943, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.3944, allocations: 29.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3946, allocations: 342.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3947, allocations: 47.95 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3948, allocations: 93.97 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3951, allocations: 109.8 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3951, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004557/0.3955, allocations: 177.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3956, allocations: 15.94 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3956, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3956, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3958, allocations: 23.98 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3958, allocations: 3.938 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.396, allocations: 39.67 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.396, allocations: 4 kB / 1.094 GB, free: 11.21 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.0002235/0.3962, allocations: 249 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.3964, allocations: 136.5 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.3965, allocations: 142.8 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.219e-05/0.3966, allocations: 180.2 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.48e-05/0.3966, allocations: 184.2 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-05/0.3967, allocations: 177.7 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.3972, allocations: 497.1 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-05/0.3972, allocations: 104.9 kB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.3973, allocations: 101 kB / 1.095 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.3974, allocations: 192.2 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-05/0.3975, allocations: 180.2 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-05/0.3976, allocations: 180.2 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.609e-05/0.3976, allocations: 184.2 kB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.3979, allocations: 327.5 kB / 1.096 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.3981, allocations: 214.1 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3982, allocations: 188.2 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3984, allocations: 112.9 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.3985, allocations: 180.3 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.3985, allocations: 108.9 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005756/0.3991, allocations: 367 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3991, allocations: 3.938 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005166/0.3997, allocations: 24 kB / 1.098 GB, free: 7.039 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.0005645/0.4002, allocations: 0.8319 MB / 1.098 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4004, allocations: 64.14 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.4005, allocations: 0 / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.4005, allocations: 3.938 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.4013, allocations: 485.2 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.4065, allocations: 3.267 MB / 1.102 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.407, allocations: 0.7748 MB / 1.103 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.4072, allocations: 49.52 kB / 1.103 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.4073, allocations: 59.42 kB / 1.103 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.4073, allocations: 0 / 1.103 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7614/1.169, allocations: 4.601 MB / 1.108 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/19.69, allocations: 0 / 1.108 GB, free: 12.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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