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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00486/0.00486, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001382/0.001382, allocations: 199.6 kB / 16.68 MB, free: 5.969 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.576/2.576, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 75.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.271, allocations: 162.3 MB / 1.242 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001648/0.2727, allocations: 0.7489 MB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.2729, allocations: 55.83 kB / 1.243 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.2729, allocations: 3.938 kB / 1.243 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.2731, allocations: 15.86 kB / 1.243 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.2731, allocations: 19.92 kB / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.2733, allocations: 30.77 kB / 1.243 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.2734, allocations: 123.6 kB / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.2737, allocations: 156.5 kB / 1.243 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.2737, allocations: 63.8 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.2738, allocations: 75.62 kB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.2739, allocations: 12 kB / 1.243 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.96e-05/0.2739, allocations: 12 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.274, allocations: 51.84 kB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.2741, allocations: 87.42 kB / 1.243 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2743, allocations: 239 kB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2743, allocations: 0 / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2743, allocations: 0 / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2743, allocations: 0 / 1.244 GB, free: 8.105 MB / 0.9981 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.0005147/0.2748, allocations: 0.4987 MB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2749, allocations: 8.031 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.2749, allocations: 62.7 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.275, allocations: 28.8 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2752, allocations: 252 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2753, allocations: 24.69 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.2753, allocations: 16.38 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.2758, allocations: 336.9 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2758, allocations: 4 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.2758, allocations: 4 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.2758, allocations: 19.98 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.2762, allocations: 263.8 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2773, allocations: 1.092 MB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.2774, allocations: 177.1 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.2774, allocations: 80.14 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2775, allocations: 79.28 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.2775, allocations: 113.9 kB / 1.247 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2775, allocations: 0 / 1.247 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.463e-05/0.2776, allocations: 49.56 kB / 1.247 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.2777, allocations: 130.6 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.2782, allocations: 0.5003 MB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2782, allocations: 33.7 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2784, allocations: 171.9 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.2784, allocations: 0 / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.2784, allocations: 33.7 kB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2786, allocations: 338.8 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.2786, allocations: 51.94 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.2787, allocations: 106.8 kB / 1.248 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.2789, allocations: 110.8 kB / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2789, allocations: 4 kB / 1.248 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002777/0.2792, allocations: 189.3 kB / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2792, allocations: 11.94 kB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2792, allocations: 0 / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2792, allocations: 12.23 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.2793, allocations: 23.92 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2793, allocations: 0 / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.2794, allocations: 39.72 kB / 1.248 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2795, allocations: 8 kB / 1.248 GB, free: 2.977 MB / 0.9981 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.0001599/0.2796, allocations: 245.1 kB / 1.248 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.2797, allocations: 128.7 kB / 1.249 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.2798, allocations: 138.8 kB / 1.249 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.042e-05/0.2799, allocations: 188.3 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/0.2799, allocations: 180.2 kB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.826e-05/0.28, allocations: 176.3 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.2803, allocations: 0.4893 MB / 1.25 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/0.2804, allocations: 101 kB / 1.25 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.2804, allocations: 105 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.036e-05/0.2805, allocations: 184.1 kB / 1.25 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.2806, allocations: 184.2 kB / 1.25 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/0.2806, allocations: 180.2 kB / 1.25 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.868e-05/0.2807, allocations: 180.5 kB / 1.251 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.2809, allocations: 339.6 kB / 1.251 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4653/0.7462, allocations: 213.5 kB / 1.251 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.7463, allocations: 179.5 kB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7464, allocations: 107.4 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.7464, allocations: 185.5 kB / 1.252 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.7464, allocations: 107.6 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003766/0.7468, allocations: 363.1 kB / 1.252 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7468, allocations: 0 / 1.252 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003623/0.7472, allocations: 27.81 kB / 1.252 GB, free: 14.08 MB / 0.9981 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.0002654/0.7475, allocations: 0.8414 MB / 1.253 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.7476, allocations: 68.5 kB / 1.253 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7476, allocations: 1.156 kB / 1.253 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.7476, allocations: 4.594 kB / 1.253 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.748, allocations: 481 kB / 1.253 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.7506, allocations: 3.295 MB / 1.257 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.7508, allocations: 0.7778 MB / 1.257 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.603e-05/0.7509, allocations: 53.44 kB / 1.257 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.751, allocations: 61.72 kB / 1.258 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.751, allocations: 0 / 1.258 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/1.918, allocations: 4.609 MB / 1.262 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/16.7, allocations: 10.44 kB / 1.262 GB, free: 10.1 MB / 0.9981 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=400 --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