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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 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.0019/0.0019, allocations: 198 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 74.3 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2498, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001941/0.2518, allocations: 0.7448 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002143/0.2521, allocations: 67.8 kB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.2521, allocations: 0 / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.2522, allocations: 15.81 kB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.2523, allocations: 7.984 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2525, allocations: 31.95 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.2526, allocations: 123.6 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.2529, allocations: 160.5 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.2529, allocations: 67.8 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.048e-05/0.253, allocations: 71.64 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.2531, allocations: 12 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.2531, allocations: 12 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.2532, allocations: 51.84 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.322e-05/0.2533, allocations: 87.42 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.2535, allocations: 227.3 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2535, allocations: 0 / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2535, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2536, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 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.0005195/0.2541, allocations: 0.4914 MB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2541, allocations: 8.031 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.2542, allocations: 58.73 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2542, allocations: 24.66 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.2545, allocations: 261.1 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2545, allocations: 16.75 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2545, allocations: 16.38 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.255, allocations: 340.9 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.255, allocations: 0 / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.255, allocations: 4 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.255, allocations: 23.92 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.2554, allocations: 267.8 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2565, allocations: 1.096 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.2566, allocations: 169.1 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.2566, allocations: 84.08 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2566, allocations: 75.28 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2567, allocations: 114 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2567, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.248e-05/0.2568, allocations: 49.42 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2568, allocations: 126.7 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.2573, allocations: 0.5003 MB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2573, allocations: 25.7 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2575, allocations: 171.7 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.2575, allocations: 7.938 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.2575, allocations: 33.7 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2576, allocations: 338.8 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.2577, allocations: 55.89 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.2578, allocations: 94.83 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.2579, allocations: 122.7 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.258, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002816/0.2582, allocations: 185.2 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2583, allocations: 15.92 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2583, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2583, allocations: 4 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.2584, allocations: 19.94 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2584, allocations: 4.234 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.2585, allocations: 35.69 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2585, allocations: 8 kB / 1.07 GB, free: 7.711 MB / 0.8262 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.0001457/0.2587, allocations: 245.1 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.2588, allocations: 140.5 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.2588, allocations: 136.5 kB / 1.07 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/0.2589, allocations: 180.2 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.268e-05/0.2589, allocations: 180.3 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.259, allocations: 180.3 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.2593, allocations: 497 kB / 1.071 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/0.2593, allocations: 105 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.2594, allocations: 108.9 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.312e-05/0.2594, allocations: 184.2 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.2595, allocations: 180.3 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.846e-05/0.2595, allocations: 180.2 kB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.964e-05/0.2596, allocations: 176.3 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2597, allocations: 335.5 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2598, allocations: 218 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.2599, allocations: 184.2 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.26, allocations: 105 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.2601, allocations: 188.2 kB / 1.073 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.2601, allocations: 105 kB / 1.073 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003499/0.2605, allocations: 375 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.703e-06/0.2605, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002701/0.2608, allocations: 27.94 kB / 1.074 GB, free: 3.551 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.0003818/0.2611, allocations: 0.8362 MB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.2613, allocations: 75.89 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2613, allocations: 0 / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2613, allocations: 0 / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2618, allocations: 481.1 kB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2648, allocations: 3.307 MB / 1.078 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2651, allocations: 0.7749 MB / 1.079 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.319e-05/0.2652, allocations: 49.52 kB / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.2653, allocations: 59.42 kB / 1.079 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.2653, allocations: 0 / 1.079 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.2848, allocations: 4.535 MB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.696, allocations: 11.69 kB / 1.084 GB, free: 9.34 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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