Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001189/0.001189, allocations: 99.16 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.001269/0.00127, allocations: 177.3 kB / 15.95 MB, free: 216 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.413/2.413, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7636, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008543/0.7645, allocations: 381.7 kB / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.7647, allocations: 13.86 kB / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.7647, allocations: 1.375 kB / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.948e-05/0.7648, allocations: 4 kB / 0.954 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.667e-05/0.7648, allocations: 5.219 kB / 0.954 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.741e-05/0.7649, allocations: 4.969 kB / 0.954 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.765, allocations: 15.33 kB / 0.954 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.7651, allocations: 26.45 kB / 0.954 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.7652, allocations: 15.36 kB / 0.9541 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.7652, allocations: 5.531 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.7652, allocations: 1.344 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.7653, allocations: 1.219 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.7653, allocations: 6.766 kB / 0.9541 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.7653, allocations: 38.89 kB / 0.9541 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.895e-05/0.7654, allocations: 27.25 kB / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.7654, allocations: 0 / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7654, allocations: 0 / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7654, allocations: 1.25 kB / 0.9541 GB, free: 7.703 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003069/0.7657, allocations: 336.2 kB / 0.9545 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.7658, allocations: 9.031 kB / 0.9545 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.7658, allocations: 39.64 kB / 0.9545 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.7659, allocations: 12.11 kB / 0.9545 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.766, allocations: 185.2 kB / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.7661, allocations: 6.906 kB / 0.9547 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.7661, allocations: 2.594 kB / 0.9547 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.7663, allocations: 82.33 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.7663, allocations: 1.531 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.7663, allocations: 0 / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.7663, allocations: 1.312 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.7664, allocations: 55.69 kB / 0.9548 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.7669, allocations: 488.7 kB / 0.9553 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.767, allocations: 170.3 kB / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.767, allocations: 75.28 kB / 0.9555 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.767, allocations: 110.9 kB / 0.9556 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.7671, allocations: 0 / 0.9556 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.353e-05/0.7671, allocations: 33.61 kB / 0.9557 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.7672, allocations: 130.7 kB / 0.9558 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.7673, allocations: 169 kB / 0.956 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.7673, allocations: 25.7 kB / 0.956 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.7674, allocations: 100.6 kB / 0.9561 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.7674, allocations: 0 / 0.9561 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.7674, allocations: 0 / 0.9561 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.7675, allocations: 317.3 kB / 0.9564 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.7675, allocations: 8.203 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.7675, allocations: 12.06 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.7675, allocations: 8.297 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7676, allocations: 5.047 kB / 0.9564 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.7677, allocations: 59.66 kB / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7677, allocations: 5.703 kB / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7677, allocations: 5.031 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.7677, allocations: 0 / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.7678, allocations: 7.359 kB / 0.9565 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.7678, allocations: 96 / 0.9565 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.7678, allocations: 8.375 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.7679, allocations: 1.156 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.742e-05/0.7679, allocations: 196.4 kB / 0.9567 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.768, allocations: 111.7 kB / 0.9568 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.768, allocations: 116.6 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.768, allocations: 181.7 kB / 0.9571 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/0.7681, allocations: 188.2 kB / 0.9573 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/0.7681, allocations: 177.7 kB / 0.9574 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.7683, allocations: 425.4 kB / 0.9578 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.7683, allocations: 106.2 kB / 0.9579 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.7683, allocations: 105.9 kB / 0.958 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.11e-05/0.7684, allocations: 193.7 kB / 0.9582 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.7684, allocations: 179.3 kB / 0.9584 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.7684, allocations: 176.3 kB / 0.9586 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.952e-05/0.7685, allocations: 184.9 kB / 0.9587 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.323e-05/0.7685, allocations: 314 kB / 0.959 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.7686, allocations: 186.3 kB / 0.9592 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.7686, allocations: 181.7 kB / 0.9594 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.7687, allocations: 106.3 kB / 0.9595 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.7687, allocations: 181.8 kB / 0.9597 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.7688, allocations: 106.4 kB / 0.9598 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.7688, allocations: 135.4 kB / 0.9599 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7689, allocations: 1.438 kB / 0.9599 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002219/0.7691, allocations: 3.875 kB / 0.9599 GB, free: 1.664 MB / 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.0002684/0.7694, allocations: 0.8056 MB / 0.9607 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.7694, allocations: 17.58 kB / 0.9607 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7694, allocations: 1.125 kB / 0.9607 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.7694, allocations: 0 / 0.9607 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.7697, allocations: 0.5295 MB / 0.9612 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.7705, allocations: 0.586 MB / 0.9618 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.7708, allocations: 0.6944 MB / 0.9625 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.7708, allocations: 5.781 kB / 0.9625 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.7709, allocations: 21.61 kB / 0.9625 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7709, allocations: 4 kB / 0.9625 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.7821, allocations: 1.381 MB / 0.9638 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.7824, allocations: 182.1 kB / 0.964 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.422, allocations: 0 / 0.964 GB, free: 14.22 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat