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.01053/0.01053, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.002141/0.002141, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 67.88 kB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3251, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002221/0.3274, allocations: 0.7388 MB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002749/0.3277, allocations: 63.81 kB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3277, allocations: 3.938 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.3279, allocations: 11.88 kB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.328, allocations: 11.92 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.3282, allocations: 38.34 kB / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3284, allocations: 115.7 kB / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.3286, allocations: 162.5 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.3287, allocations: 71.78 kB / 1.209 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.3288, allocations: 71.64 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.3289, allocations: 15.94 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.3289, allocations: 12 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.329, allocations: 51.8 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3291, allocations: 91.41 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3293, allocations: 235.1 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3294, allocations: 4 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3294, allocations: 4 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3294, allocations: 0 / 1.209 GB, free: 8.379 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.0006039/0.33, allocations: 499.2 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.33, allocations: 8.625 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.3301, allocations: 54.73 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.3302, allocations: 24.66 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3304, allocations: 257.1 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3305, allocations: 12.75 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3305, allocations: 16.38 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.3309, allocations: 352.8 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.331, allocations: 0 / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.331, allocations: 8 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.331, allocations: 16 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.3314, allocations: 271.8 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3325, allocations: 1.092 MB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.3326, allocations: 173.1 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.3326, allocations: 80.14 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3327, allocations: 79.28 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.3327, allocations: 114 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3327, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001092/0.3328, allocations: 53.36 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.3329, allocations: 126.7 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.3335, allocations: 0.4926 MB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3335, allocations: 25.7 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3337, allocations: 175.7 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.3337, allocations: 4 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.3338, allocations: 33.7 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3339, allocations: 334.8 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.334, allocations: 51.95 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3341, allocations: 102.8 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3343, allocations: 118.7 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3343, allocations: 0 / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003498/0.3346, allocations: 197.1 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3347, allocations: 7.938 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3347, allocations: 7.984 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3347, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3348, allocations: 19.98 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.3348, allocations: 8.188 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.335, allocations: 43.53 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.335, allocations: 4 kB / 1.214 GB, free: 3.281 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.0001843/0.3352, allocations: 249.1 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.3353, allocations: 128.6 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.3354, allocations: 138.8 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/0.3355, allocations: 184.3 kB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-05/0.3355, allocations: 184.2 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/0.3356, allocations: 176.3 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.336, allocations: 493.1 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/0.336, allocations: 112.9 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.3361, allocations: 105.5 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-05/0.3362, allocations: 188.1 kB / 1.216 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.3362, allocations: 176.3 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-05/0.3363, allocations: 188.1 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.338e-05/0.3364, allocations: 176.5 kB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.3366, allocations: 335.5 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.3367, allocations: 221.7 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3369, allocations: 180.2 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.337, allocations: 105 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.3371, allocations: 176.3 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.3371, allocations: 116.9 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003344/0.3375, allocations: 367 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3375, allocations: 0 / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003019/0.3378, allocations: 28 kB / 1.217 GB, free: 15.12 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.0004148/0.3382, allocations: 0.828 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.3383, allocations: 71.83 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3384, allocations: 0 / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.3384, allocations: 4 kB / 1.218 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.3389, allocations: 482.5 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.3425, allocations: 3.296 MB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3428, allocations: 0.7788 MB / 1.223 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.343, allocations: 53.52 kB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.3431, allocations: 59.42 kB / 1.223 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of SimCode: time 1.883e-06/0.3431, allocations: 0 / 1.223 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.3657, allocations: 4.6 MB / 1.227 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.168, allocations: 8 kB / 1.227 GB, free: 4.879 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