Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.0009987/0.0009987, allocations: 86.41 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.001268/0.001268, 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.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.402 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.477/2.477, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 15.98 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7565, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0008916/0.7574, allocations: 476.6 kB / 0.9543 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.7589, allocations: 1.121 MB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.759, allocations: 1.406 kB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.759, allocations: 3.938 kB / 0.9554 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.7591, allocations: 5.344 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.7596, allocations: 117.5 kB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.7597, allocations: 98.3 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.7598, allocations: 12.64 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.7599, allocations: 36.39 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.76, allocations: 40.88 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.76, allocations: 5.781 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.7601, allocations: 15.14 kB / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.7601, allocations: 10.73 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.7602, allocations: 41.14 kB / 0.9558 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.7603, allocations: 74.12 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7603, allocations: 4 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7603, allocations: 1.25 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7603, allocations: 0 / 0.9559 GB, free: 6.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004914/0.7608, allocations: 399.5 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7609, allocations: 8.031 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.7609, allocations: 36.66 kB / 0.9563 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.761, allocations: 13.23 kB / 0.9563 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.761, allocations: 170.3 kB / 0.9565 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.7611, allocations: 7.234 kB / 0.9565 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.7611, allocations: 10.47 kB / 0.9565 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7613, allocations: 67.95 kB / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.7613, allocations: 0 / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.7613, allocations: 5.375 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.7613, allocations: 5.172 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.7615, allocations: 51.89 kB / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.762, allocations: 332.4 kB / 0.9569 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.7621, allocations: 75.39 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.7623, allocations: 37.58 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.7623, allocations: 5.094 kB / 0.957 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.7625, allocations: 92.27 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.7625, allocations: 3.984 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000423/0.7629, allocations: 165.8 kB / 0.9573 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.763, allocations: 53.69 kB / 0.9573 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.7631, allocations: 122.8 kB / 0.9575 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.7631, allocations: 28.58 kB / 0.9575 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.7631, allocations: 95.5 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.7632, allocations: 18.69 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.7632, allocations: 6.312 kB / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.7632, allocations: 317.4 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7634, allocations: 56.47 kB / 0.958 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.7635, allocations: 91.53 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.7637, allocations: 84.2 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7637, allocations: 4 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003876/0.7641, allocations: 218 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.7642, allocations: 35.73 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7642, allocations: 7.938 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7642, allocations: 5.781 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.7643, allocations: 15.22 kB / 0.9584 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7643, allocations: 5.953 kB / 0.9584 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.7645, allocations: 47.56 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.7646, allocations: 11.36 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.429e-05/0.7647, allocations: 117.5 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.7647, allocations: 7.438 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.7647, allocations: 9.562 kB / 0.9586 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.7647, allocations: 5.266 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.7647, allocations: 0 / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7647, allocations: 7.984 kB / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.7651, allocations: 392.8 kB / 0.959 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7651, allocations: 1.812 kB / 0.959 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.7652, allocations: 11.2 kB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7652, allocations: 7.953 kB / 0.959 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7652, allocations: 5.781 kB / 0.959 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7652, allocations: 0 / 0.959 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7652, allocations: 1.781 kB / 0.959 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.7655, allocations: 217.2 kB / 0.9592 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.7655, allocations: 86.48 kB / 0.9593 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.7656, allocations: 15.72 kB / 0.9593 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.7656, allocations: 8.062 kB / 0.9593 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.7657, allocations: 6.734 kB / 0.9593 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7657, allocations: 2.75 kB / 0.9593 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.7657, allocations: 91.52 kB / 0.9594 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7658, allocations: 4 kB / 0.9594 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000275/0.766, allocations: 24.62 kB / 0.9594 GB, free: 3.254 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005264/0.7666, allocations: 0.755 MB / 0.9602 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.7669, allocations: 189.3 kB / 0.9604 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.767, allocations: 256 / 0.9604 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.7671, allocations: 44.42 kB / 0.9604 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.7674, allocations: 19.78 kB / 0.9604 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.7686, allocations: 0.6778 MB / 0.9611 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.7688, allocations: 0.6903 MB / 0.9618 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.7688, allocations: 8.469 kB / 0.9618 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.7689, allocations: 22.53 kB / 0.9618 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.7689, allocations: 0 / 0.9618 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.784, allocations: 2.214 MB / 0.9639 GB, free: 80 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.7843, allocations: 183.9 kB / 0.9641 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.506, allocations: 1.25 kB / 0.9641 GB, free: 15.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat does not exist to compare? outputFormat=mat