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.004388/0.004388, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001249/0.001249, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 75.84 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 162.2 MB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001872/0.3131, allocations: 0.7555 MB / 1.242 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.3134, allocations: 55.83 kB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.3134, allocations: 0 / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3136, allocations: 15.86 kB / 1.242 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.3136, allocations: 19.92 kB / 1.242 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.3138, allocations: 19.98 kB / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.314, allocations: 123.6 kB / 1.242 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.3143, allocations: 164.4 kB / 1.243 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.3143, allocations: 67.78 kB / 1.243 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.3144, allocations: 71.64 kB / 1.243 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.3145, allocations: 12 kB / 1.243 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.3145, allocations: 12 kB / 1.243 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.3146, allocations: 51.86 kB / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.3147, allocations: 87.41 kB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.315, allocations: 243 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.315, allocations: 0 / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.315, allocations: 0 / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.315, allocations: 0 / 1.243 GB, free: 8.469 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.0005997/0.3156, allocations: 0.4987 MB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3156, allocations: 8.031 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.3157, allocations: 54.73 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.3158, allocations: 24.8 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.3161, allocations: 263.9 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3161, allocations: 20.75 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.3161, allocations: 16.38 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3166, allocations: 336.9 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3167, allocations: 4 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.3167, allocations: 4 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.3167, allocations: 19.94 kB / 1.244 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.3171, allocations: 263.8 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3184, allocations: 1.096 MB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.3185, allocations: 173.1 kB / 1.246 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.3185, allocations: 84.08 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.3186, allocations: 83.22 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.3186, allocations: 110 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3186, allocations: 0 / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.767e-05/0.3187, allocations: 57.5 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.3188, allocations: 126.7 kB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.3194, allocations: 0.4887 MB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3194, allocations: 29.7 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3196, allocations: 179.8 kB / 1.247 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.3196, allocations: 0 / 1.247 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/0.3196, allocations: 33.7 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3198, allocations: 338.8 kB / 1.247 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.3199, allocations: 47.91 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.32, allocations: 102.8 kB / 1.247 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3202, allocations: 114.7 kB / 1.248 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3202, allocations: 4 kB / 1.248 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000323/0.3205, allocations: 193.3 kB / 1.248 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3205, allocations: 17.28 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3205, allocations: 4 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3206, allocations: 4.25 kB / 1.248 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3207, allocations: 27.92 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3207, allocations: 0 / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.3208, allocations: 31.78 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3208, allocations: 11.98 kB / 1.248 GB, free: 3.34 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.0001769/0.321, allocations: 245.6 kB / 1.248 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.3211, allocations: 132.7 kB / 1.248 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.671e-05/0.3212, allocations: 138.8 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/0.3213, allocations: 188.2 kB / 1.249 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-05/0.3214, allocations: 176.3 kB / 1.249 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.317e-05/0.3214, allocations: 180.2 kB / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.3218, allocations: 0.4893 MB / 1.249 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.3219, allocations: 101 kB / 1.249 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.3219, allocations: 108.9 kB / 1.25 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.803e-05/0.322, allocations: 180.2 kB / 1.25 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.3221, allocations: 180.3 kB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.626e-05/0.3222, allocations: 180.2 kB / 1.25 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.88e-05/0.3222, allocations: 180.5 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3224, allocations: 335.6 kB / 1.251 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3226, allocations: 221.9 kB / 1.251 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.536/0.8586, allocations: 180.2 kB / 1.251 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.8588, allocations: 104.3 kB / 1.251 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.8588, allocations: 180.2 kB / 1.251 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.8588, allocations: 110.6 kB / 1.251 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004038/0.8592, allocations: 368 kB / 1.252 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8592, allocations: 1.094 kB / 1.252 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003117/0.8596, allocations: 24.72 kB / 1.252 GB, free: 14.65 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.0002819/0.8598, allocations: 0.8322 MB / 1.253 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.86, allocations: 70.19 kB / 1.253 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.86, allocations: 1 kB / 1.253 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-06/0.86, allocations: 4.625 kB / 1.253 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.8605, allocations: 483.3 kB / 1.253 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.8635, allocations: 3.293 MB / 1.256 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.8637, allocations: 0.7787 MB / 1.257 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.8638, allocations: 52.2 kB / 1.257 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.8639, allocations: 61.91 kB / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.8639, allocations: 0 / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.8887, allocations: 4.611 MB / 1.262 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.73, allocations: 8.375 kB / 1.262 GB, free: 10.7 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --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