Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.009965/0.009965, allocations: 99.7 kB / 15.73 MB, free: 6.016 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.002513/0.002513, allocations: 193 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.703/2.703, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.069/4.069, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 71.89 kB / 0.9505 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504/1.507, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.003453/1.51, allocations: 0.7486 MB / 1.088 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/1.511, allocations: 54.33 kB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/1.511, allocations: 5.156 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/1.511, allocations: 21.44 kB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/1.511, allocations: 11.25 kB / 1.088 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/1.512, allocations: 27.8 kB / 1.088 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/1.512, allocations: 115 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/1.512, allocations: 159.8 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/1.513, allocations: 68.48 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/1.513, allocations: 71.92 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/1.513, allocations: 11.81 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/1.513, allocations: 11.97 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.513, allocations: 54.94 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/1.513, allocations: 85.81 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/1.514, allocations: 238.9 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/1.514, allocations: 1.688 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.424e-06/1.514, allocations: 0 / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.728e-05/1.514, allocations: 4 kB / 1.089 GB, free: 4.383 MB / 0.8575 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.001075/1.515, allocations: 0.4989 MB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/1.515, allocations: 9.188 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/1.515, allocations: 52.5 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/1.515, allocations: 32.44 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/1.516, allocations: 251.2 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/1.516, allocations: 15.72 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/1.516, allocations: 16.38 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009723/1.517, allocations: 346 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.517, allocations: 1.625 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/1.517, allocations: 5.312 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/1.517, allocations: 18.02 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/1.518, allocations: 271 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/1.52, allocations: 1.101 MB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/1.52, allocations: 170.6 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/1.52, allocations: 84.69 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/1.52, allocations: 75.91 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.52, allocations: 119.5 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/1.52, allocations: 0 / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001665/1.52, allocations: 53.45 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/1.52, allocations: 127.4 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.522, allocations: 0.4967 MB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/1.522, allocations: 26.7 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/1.522, allocations: 169.6 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/1.522, allocations: 5.25 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.522, allocations: 38.08 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.522, allocations: 337.2 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.522, allocations: 48.72 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/1.522, allocations: 97.5 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1.523, allocations: 117 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.523, allocations: 0.9375 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005924/1.523, allocations: 197.5 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/1.523, allocations: 13.56 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.523, allocations: 1.75 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.523, allocations: 2.375 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.524, allocations: 20.31 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.524, allocations: 2.469 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/1.524, allocations: 40.11 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/1.524, allocations: 15.5 kB / 1.094 GB, free: 1.02 MB / 0.8575 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.0002368/1.524, allocations: 245.8 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/1.524, allocations: 128.8 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/1.524, allocations: 140.7 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001813/1.525, allocations: 181.1 kB / 1.095 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-05/1.525, allocations: 186.7 kB / 1.095 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002171/1.525, allocations: 177.8 kB / 1.095 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/1.526, allocations: 493.6 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.965e-05/1.526, allocations: 106.4 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/1.526, allocations: 102.7 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.842e-05/1.526, allocations: 186 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/1.526, allocations: 182.2 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-05/1.526, allocations: 181.8 kB / 1.096 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.472e-05/1.526, allocations: 182.4 kB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/1.526, allocations: 327 kB / 1.097 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/1.527, allocations: 227.1 kB / 1.097 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.527, allocations: 179.1 kB / 1.097 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.527, allocations: 108.8 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/1.527, allocations: 178.1 kB / 1.097 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/1.527, allocations: 110.5 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000871/1.528, allocations: 365.3 kB / 1.098 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.528, allocations: 4 kB / 1.098 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005065/1.529, allocations: 24.03 kB / 1.098 GB, free: 13.32 MB / 0.8731 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.0006883/1.529, allocations: 0.8301 MB / 1.099 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002805/1.53, allocations: 77.95 kB / 1.099 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.53, allocations: 1.344 kB / 1.099 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/1.53, allocations: 0 / 1.099 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/1.531, allocations: 488.3 kB / 1.099 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/1.538, allocations: 3.299 MB / 1.102 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/1.538, allocations: 0.7763 MB / 1.103 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002152/1.539, allocations: 49.2 kB / 1.103 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/1.539, allocations: 63.02 kB / 1.103 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of SimCode: time 1.042e-06/1.539, allocations: 0 / 1.103 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/1.582, allocations: 4.606 MB / 1.108 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/15.36, allocations: 6.953 kB / 1.108 GB, free: 8.777 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches