Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.007797/0.007797, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.001715/0.001716, allocations: 188 kB / 16.67 MB, free: 5.977 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.977/1.977, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.999/2.999, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 61.84 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 140.4 MB / 1.088 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002357/0.3194, allocations: 0.7437 MB / 1.088 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.3197, allocations: 51.83 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.3198, allocations: 4 kB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.3199, allocations: 19.8 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.32, allocations: 7.984 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.3202, allocations: 31.97 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.3205, allocations: 123.6 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.3208, allocations: 160.5 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.3209, allocations: 67.8 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.321, allocations: 75.64 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.3211, allocations: 12 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.3211, allocations: 12.34 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.3212, allocations: 55.83 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.3213, allocations: 83.42 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.3217, allocations: 235.1 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3217, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3217, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.557e-06/0.3217, allocations: 0 / 1.089 GB, free: 284 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007119/0.3224, allocations: 0.4948 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3225, allocations: 15.97 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.464e-05/0.3226, allocations: 54.73 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.3226, allocations: 28.56 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.323, allocations: 256.9 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.323, allocations: 12.75 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3231, allocations: 16.38 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.3236, allocations: 360.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3237, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3237, allocations: 8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.3237, allocations: 11.98 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.3242, allocations: 263.8 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.3257, allocations: 1.092 MB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.635e-05/0.3258, allocations: 169.1 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.3258, allocations: 84.08 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.3258, allocations: 75.28 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.3259, allocations: 114 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.3259, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001275/0.3261, allocations: 53.33 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3261, allocations: 130.6 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.3269, allocations: 0.4965 MB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3269, allocations: 25.7 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.327, allocations: 171.7 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.782e-06/0.3271, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.3271, allocations: 29.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3273, allocations: 342.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3274, allocations: 51.95 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3275, allocations: 94.83 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3277, allocations: 118.7 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3277, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004385/0.3281, allocations: 189.2 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3282, allocations: 11.88 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3282, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3282, allocations: 3.984 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3284, allocations: 16 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3284, allocations: 7.984 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.3285, allocations: 31.69 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3286, allocations: 12.25 kB / 1.094 GB, free: 11.18 MB / 0.8575 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.0002/0.3288, allocations: 249 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3289, allocations: 132.5 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.517e-05/0.329, allocations: 134.8 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.917e-05/0.3291, allocations: 180.2 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/0.3291, allocations: 184.3 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/0.3292, allocations: 185.6 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.3296, allocations: 489.1 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/0.3297, allocations: 101 kB / 1.095 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.3297, allocations: 120.9 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-05/0.3298, allocations: 180.2 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.3299, allocations: 188.2 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.586e-05/0.3299, allocations: 176.3 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.424e-05/0.33, allocations: 188.1 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.3302, allocations: 323.5 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3304, allocations: 225.9 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3305, allocations: 180.3 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3307, allocations: 109 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.3307, allocations: 184.2 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.3308, allocations: 101 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005122/0.3313, allocations: 367 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3313, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000431/0.3318, allocations: 28 kB / 1.098 GB, free: 7.02 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.0004986/0.3323, allocations: 0.8357 MB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3325, allocations: 68.33 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3325, allocations: 4.062 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.3325, allocations: 0 / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.3332, allocations: 489.2 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.3377, allocations: 3.3 MB / 1.102 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3381, allocations: 0.7749 MB / 1.103 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.3382, allocations: 53.5 kB / 1.103 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3384, allocations: 63.42 kB / 1.103 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.3384, allocations: 0 / 1.103 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3828/0.7212, allocations: 4.606 MB / 1.108 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/18.93, allocations: 4.062 kB / 1.108 GB, free: 12.75 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches