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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 69.3 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2191, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001871/0.221, allocations: 0.7392 MB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.2212, allocations: 59.83 kB / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2213, allocations: 7.938 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.2214, allocations: 15.86 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.2215, allocations: 15.92 kB / 1.054 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2216, allocations: 26.08 kB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.2218, allocations: 123.6 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.222, allocations: 160.5 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.2221, allocations: 63.8 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.2222, allocations: 75.64 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.2222, allocations: 12 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.2222, allocations: 12 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.2223, allocations: 55.84 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.2224, allocations: 83.42 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.2226, allocations: 223.3 kB / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2226, allocations: 0 / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2226, allocations: 0 / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2226, allocations: 0 / 1.055 GB, free: 6.645 MB / 0.8106 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.0005118/0.2232, allocations: 499.4 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2232, allocations: 8.625 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.2233, allocations: 58.73 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.2233, allocations: 24.66 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2235, allocations: 268.2 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2235, allocations: 20.69 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2236, allocations: 16.38 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.224, allocations: 336.9 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.224, allocations: 0 / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.224, allocations: 7.984 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.2241, allocations: 19.98 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.2243, allocations: 259.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2254, allocations: 1.084 MB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.2254, allocations: 169.1 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.2255, allocations: 80.14 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2255, allocations: 79.28 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.2255, allocations: 110 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2256, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.08e-05/0.2256, allocations: 57.3 kB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.2257, allocations: 130.7 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.2262, allocations: 0.4925 MB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2262, allocations: 25.7 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2264, allocations: 171.8 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.2264, allocations: 4 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.2264, allocations: 29.7 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2266, allocations: 334.8 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.2266, allocations: 51.95 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.2267, allocations: 97.95 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.2268, allocations: 109.8 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2269, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002667/0.2271, allocations: 181.2 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2271, allocations: 7.938 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2272, allocations: 0 / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2272, allocations: 4 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2273, allocations: 23.92 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2273, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.2274, allocations: 47.83 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2274, allocations: 8 kB / 1.059 GB, free: 1.598 MB / 0.8106 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.0001452/0.2276, allocations: 241.1 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.2276, allocations: 136.5 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.2277, allocations: 134.8 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/0.2277, allocations: 184.2 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.088e-05/0.2278, allocations: 184.2 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-05/0.2279, allocations: 176.3 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.2281, allocations: 0.4893 MB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.2282, allocations: 101 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.2282, allocations: 105 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.767e-05/0.2282, allocations: 188.1 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.2283, allocations: 184.2 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.444e-05/0.2284, allocations: 180.2 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.06e-05/0.2284, allocations: 184.8 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2286, allocations: 327.5 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.2287, allocations: 222.1 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.2287, allocations: 188.1 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.2288, allocations: 109 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.2289, allocations: 180.2 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.2289, allocations: 109 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003146/0.2293, allocations: 363 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2293, allocations: 4 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002475/0.2295, allocations: 24 kB / 1.063 GB, free: 13.44 MB / 0.8262 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.000415/0.2299, allocations: 0.8318 MB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.2301, allocations: 71.95 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2301, allocations: 0 / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.2301, allocations: 0 / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.2306, allocations: 484.7 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.2335, allocations: 3.275 MB / 1.068 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2337, allocations: 0.7865 MB / 1.068 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.457e-05/0.2338, allocations: 49.52 kB / 1.068 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.2339, allocations: 55.42 kB / 1.068 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2339, allocations: 0 / 1.068 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7375/0.9714, allocations: 4.514 MB / 1.073 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/8.393, allocations: 7.406 kB / 1.073 GB, free: 3.293 MB / 0.8262 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