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.001116/0.001116, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001314/0.001314, allocations: 168.7 kB / 15.95 MB, free: 204 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.391 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.446/2.446, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.706, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0008943/0.7069, allocations: 460.1 kB / 0.9543 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.7072, allocations: 57.2 kB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.7072, allocations: 0 / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.7074, allocations: 14.64 kB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.7074, allocations: 17.38 kB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.7076, allocations: 28.03 kB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.7078, allocations: 135.4 kB / 0.9546 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.708, allocations: 128.3 kB / 0.9547 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.7081, allocations: 30.86 kB / 0.9547 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.7082, allocations: 51.17 kB / 0.9548 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.7082, allocations: 3.5 kB / 0.9548 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.7083, allocations: 6.969 kB / 0.9548 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.7083, allocations: 38.92 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.7084, allocations: 52.86 kB / 0.9549 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.7086, allocations: 175.1 kB / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7086, allocations: 0 / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7086, allocations: 1.156 kB / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.7086, allocations: 0 / 0.955 GB, free: 7.301 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.0004991/0.7091, allocations: 454.8 kB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.7092, allocations: 8.906 kB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.656e-05/0.7092, allocations: 60.25 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.7093, allocations: 26.89 kB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.7096, allocations: 253 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.7096, allocations: 18.98 kB / 0.9558 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.7096, allocations: 16.09 kB / 0.9558 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.7101, allocations: 338.5 kB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7101, allocations: 0 / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.7102, allocations: 6.094 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.7102, allocations: 23.81 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.7106, allocations: 271.5 kB / 0.9564 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.7117, allocations: 1.079 MB / 0.9575 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.7118, allocations: 169.1 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.7119, allocations: 93.45 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.7119, allocations: 75.28 kB / 0.9578 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.7119, allocations: 107.2 kB / 0.9579 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.7119, allocations: 3.938 kB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001229/0.7121, allocations: 48.42 kB / 0.958 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.7121, allocations: 126.7 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.7128, allocations: 0.4961 MB / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.7128, allocations: 26.73 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.713, allocations: 176.8 kB / 0.9588 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.713, allocations: 0 / 0.9588 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.713, allocations: 5.125 kB / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.7131, allocations: 336.6 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.7132, allocations: 51.17 kB / 0.9591 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.7133, allocations: 104.8 kB / 0.9592 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.7134, allocations: 60.42 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.7134, allocations: 1 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003848/0.7138, allocations: 194.2 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.7139, allocations: 6.875 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7139, allocations: 1.375 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7139, allocations: 2.75 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.714, allocations: 19.11 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7141, allocations: 10.62 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.7142, allocations: 35.05 kB / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.7142, allocations: 14.88 kB / 0.9596 GB, free: 3.668 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.0001861/0.7144, allocations: 244.9 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.7145, allocations: 131.7 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.7146, allocations: 147.1 kB / 0.9601 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.7147, allocations: 177.6 kB / 0.9602 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/0.7147, allocations: 181.6 kB / 0.9604 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-05/0.7148, allocations: 181.6 kB / 0.9606 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.7151, allocations: 497 kB / 0.9611 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/0.7151, allocations: 106.3 kB / 0.9612 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.7152, allocations: 103.7 kB / 0.9613 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.051e-05/0.7152, allocations: 180.2 kB / 0.9614 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.7153, allocations: 189.5 kB / 0.9616 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.096e-05/0.7153, allocations: 181.6 kB / 0.9618 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-05/0.7153, allocations: 180.2 kB / 0.962 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.7155, allocations: 325.2 kB / 0.9623 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.7157, allocations: 239.8 kB / 0.9625 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.7158, allocations: 177.6 kB / 0.9627 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.7159, allocations: 113.3 kB / 0.9628 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.7159, allocations: 181.6 kB / 0.9629 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.716, allocations: 105 kB / 0.963 GB, free: 44 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005511/0.7165, allocations: 368.7 kB / 0.9634 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7165, allocations: 4 kB / 0.9634 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000343/0.7169, allocations: 24.16 kB / 0.9634 GB, free: 15.84 MB / 0.7325 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.0005785/0.7175, allocations: 0.8309 MB / 0.9642 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.7176, allocations: 72.36 kB / 0.9643 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7177, allocations: 1 kB / 0.9643 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.7177, allocations: 3.938 kB / 0.9643 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.7183, allocations: 0.5471 MB / 0.9648 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.7212, allocations: 1.712 MB / 0.9665 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.7216, allocations: 0.7767 MB / 0.9673 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.7217, allocations: 54.58 kB / 0.9673 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.7218, allocations: 61.02 kB / 0.9674 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7218, allocations: 0 / 0.9674 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.7369, allocations: 4.168 MB / 0.9715 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.7371, allocations: 194.4 kB / 0.9716 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.454, allocations: 0 / 0.9716 GB, free: 10.5 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