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.008629/0.00863, allocations: 103 kB / 15.73 MB, free: 6.059 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.001876/0.001876, allocations: 187.8 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 1.054 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8202, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00276/0.823, allocations: 0.7424 MB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.8234, allocations: 59.83 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.8235, allocations: 7.938 kB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.8237, allocations: 11.86 kB / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.8238, allocations: 11.92 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.8241, allocations: 27.97 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.8244, allocations: 123.7 kB / 1.208 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.8247, allocations: 156.5 kB / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.8249, allocations: 71.78 kB / 1.209 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.825, allocations: 71.64 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.8251, allocations: 12 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.8251, allocations: 15.94 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-05/0.8252, allocations: 47.86 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.8254, allocations: 91.39 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.8258, allocations: 235.2 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8258, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8258, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.8258, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 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.000709/0.8265, allocations: 497.3 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.8266, allocations: 8.031 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.12e-05/0.8267, allocations: 58.73 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.8267, allocations: 20.66 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.8272, allocations: 257.1 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.8272, allocations: 16.75 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.8273, allocations: 20.38 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.828, allocations: 344.8 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.828, allocations: 0 / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.828, allocations: 4 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.8281, allocations: 15.98 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.8286, allocations: 259.8 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.8304, allocations: 1.092 MB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.8306, allocations: 173.1 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.8306, allocations: 88.11 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.8307, allocations: 75.28 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.8307, allocations: 110 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.8307, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001618/0.8309, allocations: 65.19 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.831, allocations: 126.7 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.8319, allocations: 0.4887 MB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.832, allocations: 25.7 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.8321, allocations: 167.8 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.8322, allocations: 8 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.8323, allocations: 29.7 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8325, allocations: 338.8 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.8326, allocations: 51.95 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.8328, allocations: 85.97 kB / 1.213 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.833, allocations: 109.8 kB / 1.213 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.833, allocations: 0 / 1.213 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005288/0.8336, allocations: 189.2 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.8336, allocations: 7.938 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8337, allocations: 0 / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8337, allocations: 7.938 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.8339, allocations: 23.92 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.8339, allocations: 0 / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.8341, allocations: 43.58 kB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.8341, allocations: 12.22 kB / 1.214 GB, free: 6.809 MB / 0.9356 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.0002105/0.8343, allocations: 245.1 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8345, allocations: 128.6 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.8346, allocations: 138.8 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.241e-05/0.8347, allocations: 184.3 kB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-05/0.8347, allocations: 180.2 kB / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/0.8348, allocations: 180.3 kB / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.8353, allocations: 493 kB / 1.215 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.8353, allocations: 101 kB / 1.215 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.8354, allocations: 108.9 kB / 1.215 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.18e-05/0.8355, allocations: 184.2 kB / 1.215 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/0.8356, allocations: 184.2 kB / 1.216 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.643e-05/0.8357, allocations: 184.2 kB / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.759e-05/0.8358, allocations: 180.3 kB / 1.216 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.836, allocations: 327.5 kB / 1.216 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.8362, allocations: 213.8 kB / 1.216 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.8363, allocations: 196.1 kB / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.8365, allocations: 105 kB / 1.217 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.8366, allocations: 180.2 kB / 1.217 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.8367, allocations: 109.2 kB / 1.217 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005654/0.8373, allocations: 363 kB / 1.217 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8373, allocations: 0 / 1.217 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004701/0.8378, allocations: 28 kB / 1.217 GB, free: 2.664 MB / 0.9356 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.0005387/0.8383, allocations: 0.8318 MB / 1.218 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.8386, allocations: 76.2 kB / 1.218 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8386, allocations: 4.125 kB / 1.218 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.8386, allocations: 0 / 1.218 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.8394, allocations: 472.8 kB / 1.219 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.8444, allocations: 3.27 MB / 1.222 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.8449, allocations: 0.771 MB / 1.223 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000148/0.8451, allocations: 49.52 kB / 1.223 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.8452, allocations: 63.42 kB / 1.223 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of SimCode: time 2.495e-06/0.8452, allocations: 7.938 kB / 1.223 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.87, allocations: 4.625 MB / 1.227 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.626, allocations: 3.938 kB / 1.227 GB, free: 8.438 MB / 0.9512 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