Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.008822/0.008822, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001785/0.001785, allocations: 190.6 kB / 16.67 MB, free: 5.98 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.486/1.486, 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.711/2.711, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3307, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002184/0.3329, allocations: 0.7468 MB / 1.208 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.3331, allocations: 47.89 kB / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.3332, allocations: 7.938 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.3334, allocations: 15.86 kB / 1.208 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.3334, allocations: 15.92 kB / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.3336, allocations: 23.97 kB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3338, allocations: 123.6 kB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.3341, allocations: 160.5 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.3341, allocations: 71.78 kB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.3342, allocations: 71.64 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.3343, allocations: 12 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.3343, allocations: 12 kB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.3344, allocations: 55.78 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.3345, allocations: 91.42 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3347, allocations: 235.1 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3347, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3347, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.3347, allocations: 0 / 1.209 GB, free: 8.426 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005503/0.3353, allocations: 0.4914 MB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3353, allocations: 8.625 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.3354, allocations: 58.73 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.3355, allocations: 20.66 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3357, allocations: 261.1 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3357, allocations: 16.75 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.3358, allocations: 16.38 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.3362, allocations: 336.9 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3362, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3363, allocations: 7.984 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.3363, allocations: 19.98 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3366, allocations: 263.8 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3377, allocations: 1.088 MB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.156e-05/0.3378, allocations: 165.1 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.3378, allocations: 84.14 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3379, allocations: 79.22 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.3379, allocations: 106 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3379, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.632e-05/0.338, allocations: 53.36 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3381, allocations: 130.7 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/0.3386, allocations: 0.4926 MB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3386, allocations: 29.7 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3387, allocations: 163.8 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.3387, allocations: 8 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.3388, allocations: 29.7 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3389, allocations: 334.8 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.339, allocations: 51.95 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3391, allocations: 93.92 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3392, allocations: 109.8 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3392, allocations: 0 / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002774/0.3395, allocations: 193 kB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3395, allocations: 7.938 kB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3395, allocations: 4 kB / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3395, allocations: 0 / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.3396, allocations: 20.2 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3397, allocations: 8 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.3398, allocations: 35.62 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3398, allocations: 11.98 kB / 1.214 GB, free: 3.387 MB / 0.9669 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.000147/0.3399, allocations: 249 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.34, allocations: 124.6 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.3401, allocations: 134.8 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/0.3401, allocations: 192.2 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.214e-05/0.3402, allocations: 184.2 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-05/0.3403, allocations: 180.2 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.3405, allocations: 489.1 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/0.3406, allocations: 109 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.3406, allocations: 105.4 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-05/0.3407, allocations: 184.2 kB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.3407, allocations: 180.2 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-05/0.3408, allocations: 184.2 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.845e-05/0.3408, allocations: 180.4 kB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.341, allocations: 327.6 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3411, allocations: 221.7 kB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.3412, allocations: 180.2 kB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3413, allocations: 109 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3414, allocations: 184.2 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.3414, allocations: 109 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003298/0.3417, allocations: 363 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3417, allocations: 0 / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002681/0.342, allocations: 28 kB / 1.217 GB, free: 15.24 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.0004087/0.3424, allocations: 0.8318 MB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.3426, allocations: 71.89 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3426, allocations: 0 / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.3426, allocations: 0 / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.3431, allocations: 484.6 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.3462, allocations: 3.275 MB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3465, allocations: 0.7788 MB / 1.223 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.738e-05/0.3466, allocations: 45.53 kB / 1.223 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.3467, allocations: 67.41 kB / 1.223 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3467, allocations: 0 / 1.223 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.3706, allocations: 4.57 MB / 1.227 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.249, allocations: 16.62 kB / 1.227 GB, free: 5.043 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches