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.001228/0.001228, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001279/0.001279, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.497/2.497, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 69.61 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2187, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00166/0.2204, allocations: 0.8039 MB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.2206, allocations: 55.83 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.2206, allocations: 0 / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.2207, allocations: 23.86 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.758e-05/0.2208, allocations: 7.984 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.2209, allocations: 23.97 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.221, allocations: 119.6 kB / 1.053 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.2212, allocations: 156.5 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.2213, allocations: 71.78 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2214, allocations: 75.64 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.2214, allocations: 15.94 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.2214, allocations: 16 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.2215, allocations: 51.84 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.2216, allocations: 83.42 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2217, allocations: 219.3 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.2218, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2218, allocations: 3.984 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2218, allocations: 0 / 1.054 GB, free: 6.914 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004265/0.2222, allocations: 0.4915 MB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2222, allocations: 12.61 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.2223, allocations: 54.73 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.2223, allocations: 32.56 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.2226, allocations: 260.3 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2226, allocations: 12.75 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.2226, allocations: 20.36 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.223, allocations: 340.9 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.223, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.223, allocations: 4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.2231, allocations: 19.98 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.2233, allocations: 267.8 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.2243, allocations: 1.088 MB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.2244, allocations: 173.1 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.2244, allocations: 80.14 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2245, allocations: 79.22 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2245, allocations: 110 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2245, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.406e-05/0.2246, allocations: 57.33 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2246, allocations: 130.7 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.225, allocations: 0.4926 MB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.2251, allocations: 29.7 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.2252, allocations: 171.8 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2252, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.2252, allocations: 33.61 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.2253, allocations: 342.8 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.2254, allocations: 47.95 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.2255, allocations: 102.8 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.2256, allocations: 118.7 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2256, allocations: 7.938 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002435/0.2258, allocations: 181.4 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2259, allocations: 17.84 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2259, allocations: 4 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2259, allocations: 4 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.226, allocations: 27.86 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.226, allocations: 160 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.2261, allocations: 43.66 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2261, allocations: 8 kB / 1.059 GB, free: 1.801 MB / 0.8106 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.0001233/0.2262, allocations: 245.1 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2263, allocations: 132.6 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.2264, allocations: 138.8 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/0.2264, allocations: 180.2 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.456e-05/0.2264, allocations: 176.3 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.681e-05/0.2265, allocations: 180.3 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.2267, allocations: 0.4893 MB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.2268, allocations: 101 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.2268, allocations: 105.1 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.2269, allocations: 192.2 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.2269, allocations: 180.3 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.244e-05/0.227, allocations: 188.2 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-05/0.227, allocations: 180.3 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.2271, allocations: 331.4 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.2272, allocations: 213.8 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.2273, allocations: 188.2 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.2274, allocations: 105 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.2275, allocations: 184.2 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.2275, allocations: 105 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003101/0.2278, allocations: 367 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2278, allocations: 0 / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002381/0.228, allocations: 24 kB / 1.063 GB, free: 13.65 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.0003427/0.2284, allocations: 0.8357 MB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2285, allocations: 71.89 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2285, allocations: 0 / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.2285, allocations: 0 / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.229, allocations: 485.5 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2316, allocations: 3.348 MB / 1.067 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2319, allocations: 0.771 MB / 1.068 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.582e-05/0.232, allocations: 57.52 kB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.2321, allocations: 59.42 kB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2321, allocations: 0 / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.558/1.79, allocations: 4.448 MB / 1.072 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/1.79, allocations: 215.8 kB / 1.073 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/3.57, allocations: 0 / 1.073 GB, free: 3.277 MB / 0.8262 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