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.0008206/0.0008207, 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.0008231/0.0008231, 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.383/1.383, allocations: 223.2 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.534/2.534, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.724, allocations: 142.3 MB / 0.9539 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0007244/0.7248, allocations: 380.7 kB / 0.9542 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.7259, allocations: 1.162 MB / 0.9554 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.7259, allocations: 1.438 kB / 0.9554 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.726, allocations: 3.938 kB / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.726, allocations: 9.266 kB / 0.9554 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.7266, allocations: 190.1 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.7267, allocations: 145.5 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.7268, allocations: 3.844 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.7268, allocations: 58.95 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.7269, allocations: 49.2 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.727, allocations: 8.688 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.727, allocations: 22.11 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.7271, allocations: 7.219 kB / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.7271, allocations: 36.61 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.7272, allocations: 106.7 kB / 0.956 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7272, allocations: 5 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7272, allocations: 0 / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.7273, allocations: 0 / 0.956 GB, free: 6.395 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.000307/0.7276, allocations: 406 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7276, allocations: 14.06 kB / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.7276, allocations: 34.55 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.7277, allocations: 15.23 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.041e-05/0.7277, allocations: 170 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.7278, allocations: 4.844 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.7278, allocations: 13.47 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.808e-05/0.7279, allocations: 45.95 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7279, allocations: 1.375 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.7279, allocations: 4 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.7279, allocations: 1.344 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.728, allocations: 18.45 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.7283, allocations: 351.9 kB / 0.957 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.365e-05/0.7284, allocations: 40.81 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.7284, allocations: 18.3 kB / 0.9571 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.7285, allocations: 0 / 0.9571 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.7286, allocations: 88.72 kB / 0.9572 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.7286, allocations: 0 / 0.9572 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.7288, allocations: 102.5 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.7288, allocations: 57.47 kB / 0.9573 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.7289, allocations: 114.5 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.7289, allocations: 33.27 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.729, allocations: 101.9 kB / 0.9576 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.729, allocations: 10.34 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.729, allocations: 6.719 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.7291, allocations: 321.7 kB / 0.9579 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.7292, allocations: 58.34 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.7293, allocations: 90.02 kB / 0.958 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.7294, allocations: 114.5 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7294, allocations: 0 / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003627/0.7298, allocations: 258.4 kB / 0.9584 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.7299, allocations: 69.53 kB / 0.9584 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7299, allocations: 7.938 kB / 0.9584 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7299, allocations: 3.062 kB / 0.9584 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.7299, allocations: 11.56 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7299, allocations: 0 / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.7303, allocations: 85.64 kB / 0.9585 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.7303, allocations: 13.14 kB / 0.9586 GB, free: 3.953 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 6.599e-05/0.7304, allocations: 122.8 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.7304, allocations: 2.875 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.7304, allocations: 17.89 kB / 0.9587 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7304, allocations: 7.938 kB / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7304, allocations: 0.9062 kB / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7305, allocations: 0 / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.887e-05/0.7305, allocations: 169.1 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7305, allocations: 1.25 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.7306, allocations: 13.39 kB / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7306, allocations: 0 / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.7306, allocations: 1.469 kB / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7306, allocations: 0 / 0.9589 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7306, allocations: 5.453 kB / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.7307, allocations: 115.1 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.7307, allocations: 83.58 kB / 0.9591 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.7308, allocations: 0 / 0.9591 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.7308, allocations: 1.219 kB / 0.9591 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.7308, allocations: 11.44 kB / 0.9591 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7308, allocations: 3.156 kB / 0.9591 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.7309, allocations: 94.23 kB / 0.9592 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7309, allocations: 4 kB / 0.9592 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002312/0.7311, allocations: 30.34 kB / 0.9592 GB, free: 3.293 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.0002751/0.7314, allocations: 0.6426 MB / 0.9598 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.7317, allocations: 248.6 kB / 0.9601 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7317, allocations: 4.062 kB / 0.9601 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.7317, allocations: 32.42 kB / 0.9601 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.7319, allocations: 16.23 kB / 0.9601 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.7329, allocations: 0.6951 MB / 0.9608 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.733, allocations: 0.6889 MB / 0.9615 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.733, allocations: 16.14 kB / 0.9615 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.7331, allocations: 18.91 kB / 0.9615 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7331, allocations: 0 / 0.9615 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.745, allocations: 2.575 MB / 0.964 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.7452, allocations: 181.3 kB / 0.9642 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.495, allocations: 0 / 0.9642 GB, free: 15.68 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