Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001107/0.001111, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001249/0.001249, allocations: 177.3 kB / 15.95 MB, free: 208 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.459/2.459, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 16 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6822, allocations: 142.3 MB / 0.9536 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008704/0.6831, allocations: 378.4 kB / 0.954 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.685, allocations: 1.131 MB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.6851, allocations: 0 / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.6851, allocations: 3.938 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.6852, allocations: 15.06 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.686, allocations: 196.9 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.6862, allocations: 74.56 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.6863, allocations: 16 kB / 0.9554 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.6864, allocations: 51.44 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.6865, allocations: 49.02 kB / 0.9555 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.6866, allocations: 12.31 kB / 0.9555 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.6867, allocations: 21.52 kB / 0.9555 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.6867, allocations: 7.328 kB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.6868, allocations: 40.67 kB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.687, allocations: 102.4 kB / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.687, allocations: 0 / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.687, allocations: 0 / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.687, allocations: 5.25 kB / 0.9556 GB, free: 6.707 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003908/0.6874, allocations: 406 kB / 0.956 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6874, allocations: 9.719 kB / 0.956 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.6875, allocations: 38.56 kB / 0.9561 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.6875, allocations: 16.2 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.489e-05/0.6876, allocations: 169 kB / 0.9563 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6877, allocations: 8.172 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.6877, allocations: 9.875 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.6878, allocations: 49.53 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6878, allocations: 1.438 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.6878, allocations: 0 / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.6879, allocations: 1.594 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.6879, allocations: 19.09 kB / 0.9563 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.6884, allocations: 354.9 kB / 0.9567 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.6885, allocations: 33.02 kB / 0.9567 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.6885, allocations: 0 / 0.9567 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.6886, allocations: 87.34 kB / 0.9568 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.6886, allocations: 1.375 kB / 0.9568 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002381/0.6889, allocations: 105.9 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.6889, allocations: 53.28 kB / 0.9569 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.689, allocations: 115.5 kB / 0.9571 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.689, allocations: 32.36 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.6891, allocations: 95 kB / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.6891, allocations: 13.77 kB / 0.9572 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.6891, allocations: 3.312 kB / 0.9572 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.6892, allocations: 326.6 kB / 0.9575 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.6893, allocations: 56.28 kB / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6895, allocations: 90.75 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.6896, allocations: 114.2 kB / 0.9578 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6896, allocations: 5.312 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004129/0.69, allocations: 264.7 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.6901, allocations: 69.92 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6901, allocations: 0 / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6901, allocations: 6.453 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-05/0.6902, allocations: 7 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6902, allocations: 1.281 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.6906, allocations: 78.44 kB / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.6906, allocations: 20.73 kB / 0.9582 GB, free: 4.281 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.698e-05/0.6908, allocations: 126.5 kB / 0.9583 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.6908, allocations: 6.359 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.6908, allocations: 10.53 kB / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6908, allocations: 5.109 kB / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6908, allocations: 0 / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.6908, allocations: 0 / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.915e-05/0.6909, allocations: 169 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6909, allocations: 1.344 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.691, allocations: 5.422 kB / 0.9585 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.691, allocations: 4 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.691, allocations: 1.375 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.691, allocations: 0 / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.691, allocations: 9.219 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.6911, allocations: 112.1 kB / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.6912, allocations: 82.17 kB / 0.9587 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6912, allocations: 5 kB / 0.9587 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.6912, allocations: 1.094 kB / 0.9587 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.6913, allocations: 14.45 kB / 0.9587 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.6913, allocations: 7.391 kB / 0.9587 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.6913, allocations: 90.7 kB / 0.9588 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6913, allocations: 0 / 0.9588 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002461/0.6916, allocations: 26.84 kB / 0.9588 GB, free: 3.629 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0003495/0.6919, allocations: 0.6549 MB / 0.9595 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.6922, allocations: 236 kB / 0.9597 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6923, allocations: 0 / 0.9597 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.6923, allocations: 36.75 kB / 0.9597 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.6925, allocations: 13.83 kB / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.6932, allocations: 0.9923 MB / 0.9607 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.6934, allocations: 0.6931 MB / 0.9614 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.6934, allocations: 7.375 kB / 0.9614 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.6934, allocations: 22.98 kB / 0.9614 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6935, allocations: 0 / 0.9614 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.7078, allocations: 2.539 MB / 0.9639 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.7081, allocations: 176.2 kB / 0.9641 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.406, allocations: 0 / 0.9641 GB, free: 15.58 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat does not exist to compare? outputFormat=mat