Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.001313/0.001314, allocations: 96.25 kB / 15.05 MB, free: 1.113 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.001126/0.001127, allocations: 181.3 kB / 15.95 MB, free: 220 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.337/2.337, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 16 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.801, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0008682/0.8019, allocations: 487.9 kB / 0.9541 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.8027, allocations: 0.8192 MB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.8028, allocations: 1.094 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.803, allocations: 50.23 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.803, allocations: 34.72 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.38e-05/0.8031, allocations: 18.44 kB / 0.955 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.8032, allocations: 51.53 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.8033, allocations: 21.14 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.8034, allocations: 33.8 kB / 0.9551 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.8036, allocations: 66.67 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.8036, allocations: 3.938 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.8036, allocations: 4.875 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.8037, allocations: 35.42 kB / 0.9552 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.8037, allocations: 41.73 kB / 0.9552 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.8038, allocations: 84.8 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.8038, allocations: 0 / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8038, allocations: 0 / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8038, allocations: 0 / 0.9553 GB, free: 6.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006938/0.8045, allocations: 465.8 kB / 0.9557 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.8046, allocations: 8.969 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.8046, allocations: 36.78 kB / 0.9558 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.8047, allocations: 16.75 kB / 0.9558 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.8048, allocations: 197.4 kB / 0.956 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.8049, allocations: 5.188 kB / 0.956 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.8049, allocations: 7.5 kB / 0.956 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.8053, allocations: 170.2 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8053, allocations: 0 / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.8053, allocations: 1.281 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.8054, allocations: 1.469 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.806, allocations: 207.6 kB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.8068, allocations: 0.5197 MB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.8072, allocations: 184.6 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.8072, allocations: 1.094 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.8073, allocations: 39.61 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.8073, allocations: 0 / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0009364/0.8082, allocations: 333.2 kB / 0.9574 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.8083, allocations: 82.39 kB / 0.9575 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.8084, allocations: 159.5 kB / 0.9576 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.8084, allocations: 25.7 kB / 0.9577 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.8085, allocations: 105.3 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.8085, allocations: 26.98 kB / 0.9578 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.8085, allocations: 0 / 0.9578 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.8086, allocations: 326.7 kB / 0.9581 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.8088, allocations: 97.67 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.8091, allocations: 110.2 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.8094, allocations: 96.58 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8094, allocations: 0 / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005408/0.8099, allocations: 238.9 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.8099, allocations: 17.06 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.81, allocations: 1.125 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.81, allocations: 0 / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.8102, allocations: 42.56 kB / 0.9587 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8102, allocations: 4.953 kB / 0.9587 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.8103, allocations: 33.19 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.8104, allocations: 2.75 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.772e-05/0.8104, allocations: 127.5 kB / 0.9588 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.8105, allocations: 13.31 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.8106, allocations: 20.33 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.8106, allocations: 2.75 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8106, allocations: 7.922 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.8106, allocations: 9.312 kB / 0.9589 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.8109, allocations: 226.6 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8109, allocations: 0 / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.8111, allocations: 46.14 kB / 0.9592 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8111, allocations: 1.375 kB / 0.9592 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.8111, allocations: 5.375 kB / 0.9592 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8111, allocations: 3.953 kB / 0.9592 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.8111, allocations: 5.375 kB / 0.9592 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.8117, allocations: 407.4 kB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.8118, allocations: 96.98 kB / 0.9596 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.8118, allocations: 13.31 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.812, allocations: 28.47 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.8121, allocations: 15.92 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.8121, allocations: 5.266 kB / 0.9597 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.659e-05/0.8122, allocations: 124.7 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8122, allocations: 0 / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002729/0.8125, allocations: 20.03 kB / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0008491/0.8133, allocations: 1.023 MB / 0.9608 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005752/0.8139, allocations: 207.5 kB / 0.961 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8139, allocations: 4 kB / 0.961 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.8142, allocations: 102.8 kB / 0.9611 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.8144, allocations: 13.12 kB / 0.9612 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.8162, allocations: 1.102 MB / 0.9622 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.8163, allocations: 0.7134 MB / 0.9629 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.8164, allocations: 30.66 kB / 0.963 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.8165, allocations: 30.77 kB / 0.963 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8165, allocations: 0 / 0.963 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.8295, allocations: 2.258 MB / 0.9652 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.8298, allocations: 189.6 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.451, allocations: 1.031 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat