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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001093/0.001093, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001252/0.001252, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 16 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7311, allocations: 142.3 MB / 0.9536 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0007381/0.7319, allocations: 461.4 kB / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.7321, allocations: 56.83 kB / 0.9541 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.7321, allocations: 9.375 kB / 0.9541 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.7322, allocations: 14.14 kB / 0.9541 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.7323, allocations: 18.64 kB / 0.9541 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.7324, allocations: 26.45 kB / 0.9542 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.7325, allocations: 75.48 kB / 0.9542 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.7327, allocations: 132.5 kB / 0.9544 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.7328, allocations: 34.23 kB / 0.9544 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.7328, allocations: 43.22 kB / 0.9544 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.7329, allocations: 2.312 kB / 0.9544 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.7329, allocations: 3.5 kB / 0.9544 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.7329, allocations: 38.72 kB / 0.9545 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.733, allocations: 50.2 kB / 0.9545 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.7331, allocations: 166.3 kB / 0.9547 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.7331, allocations: 4 kB / 0.9547 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7331, allocations: 0.8125 kB / 0.9547 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7331, allocations: 3.938 kB / 0.9547 GB, free: 7.391 MB / 0.7169 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.0003513/0.7335, allocations: 466.8 kB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.7335, allocations: 12.89 kB / 0.9552 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.7336, allocations: 60.11 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.7336, allocations: 26.36 kB / 0.9552 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.7339, allocations: 244.8 kB / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.7339, allocations: 15.62 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.7339, allocations: 23.98 kB / 0.9555 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.7343, allocations: 337.8 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7343, allocations: 0 / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.7344, allocations: 6.094 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.7344, allocations: 26.84 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.7347, allocations: 268.4 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.7357, allocations: 1.083 MB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.7357, allocations: 173.1 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.7357, allocations: 80.55 kB / 0.9574 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.7358, allocations: 113.8 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7358, allocations: 1.344 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.938e-05/0.7358, allocations: 47.42 kB / 0.9576 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.7359, allocations: 128 kB / 0.9577 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.7363, allocations: 0.4918 MB / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.7363, allocations: 25.7 kB / 0.9582 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.7364, allocations: 177.3 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.7364, allocations: 0 / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.7364, allocations: 9.531 kB / 0.9584 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.7365, allocations: 335.7 kB / 0.9587 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.7365, allocations: 54.61 kB / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.7366, allocations: 97.42 kB / 0.9588 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.7367, allocations: 60.98 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7367, allocations: 1.281 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002554/0.737, allocations: 190.4 kB / 0.9591 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.737, allocations: 14.11 kB / 0.9591 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.737, allocations: 5.078 kB / 0.9591 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.737, allocations: 2.875 kB / 0.9591 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.7371, allocations: 16.28 kB / 0.9591 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7371, allocations: 10.17 kB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.7372, allocations: 30.28 kB / 0.9592 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.7373, allocations: 6.875 kB / 0.9592 GB, free: 3.836 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7374, allocations: 245.8 kB / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.7374, allocations: 135.5 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.7375, allocations: 143.1 kB / 0.9597 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.7375, allocations: 181.7 kB / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/0.7376, allocations: 185.5 kB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.7376, allocations: 176.3 kB / 0.9602 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.7378, allocations: 0.4905 MB / 0.9607 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.7378, allocations: 102.4 kB / 0.9608 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.7378, allocations: 106.4 kB / 0.9609 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/0.7378, allocations: 181.6 kB / 0.961 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.7379, allocations: 177.6 kB / 0.9612 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.7379, allocations: 184.2 kB / 0.9614 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/0.7379, allocations: 185.6 kB / 0.9616 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.889e-05/0.738, allocations: 329.1 kB / 0.9619 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.7381, allocations: 227.9 kB / 0.9621 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.7382, allocations: 189.6 kB / 0.9623 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.7383, allocations: 109.1 kB / 0.9624 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.7383, allocations: 184.2 kB / 0.9625 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.7383, allocations: 110.6 kB / 0.9627 GB, free: 204 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003287/0.7387, allocations: 364 kB / 0.963 GB, free: 8 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7387, allocations: 0 / 0.963 GB, free: 8 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002744/0.7389, allocations: 24.19 kB / 0.963 GB, free: 8 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.7394, allocations: 0.8306 MB / 0.9638 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.7395, allocations: 76.58 kB / 0.9639 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7395, allocations: 0.9688 kB / 0.9639 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.7395, allocations: 0 / 0.9639 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.74, allocations: 0.5479 MB / 0.9644 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.743, allocations: 2.713 MB / 0.9671 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.7435, allocations: 0.7819 MB / 0.9679 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.7437, allocations: 50.89 kB / 0.9679 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7438, allocations: 60.89 kB / 0.968 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7438, allocations: 0 / 0.968 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.7596, allocations: 4.152 MB / 0.972 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.7598, allocations: 195.5 kB / 0.9722 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.411, allocations: 0 / 0.9722 GB, free: 9.633 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat does not exist to compare? outputFormat=mat