Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.001214/0.001215, allocations: 100.2 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.001145/0.001145, 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.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.49/2.49, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7593, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0007703/0.7601, allocations: 421.4 kB / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.7613, allocations: 1.191 MB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.7613, allocations: 5.156 kB / 0.9552 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.7614, allocations: 3.984 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.7614, allocations: 15.78 kB / 0.9552 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.7622, allocations: 279.3 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.7623, allocations: 120.2 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.7624, allocations: 21.94 kB / 0.9556 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.7625, allocations: 85.61 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.7626, allocations: 67.41 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.7627, allocations: 16.16 kB / 0.9558 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.7627, allocations: 26.61 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.7628, allocations: 12.78 kB / 0.9558 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.7628, allocations: 50.05 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.763, allocations: 143.9 kB / 0.956 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.763, allocations: 5.031 kB / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.763, allocations: 0 / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.763, allocations: 3.938 kB / 0.956 GB, free: 6.32 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.0003701/0.7634, allocations: 460.7 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.7634, allocations: 8.812 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.7635, allocations: 31.94 kB / 0.9565 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.7635, allocations: 18.17 kB / 0.9565 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.7636, allocations: 171.4 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.7636, allocations: 10.78 kB / 0.9567 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.7637, allocations: 13.34 kB / 0.9567 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7638, allocations: 62.77 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.7638, allocations: 0 / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.7638, allocations: 0 / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.7638, allocations: 1.375 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.7639, allocations: 31.33 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.7643, allocations: 410.6 kB / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.7644, allocations: 35.73 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.7644, allocations: 3.969 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.7646, allocations: 101.7 kB / 0.9573 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.7646, allocations: 0 / 0.9573 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002723/0.7648, allocations: 136.2 kB / 0.9574 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.7649, allocations: 53.88 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.765, allocations: 137.5 kB / 0.9576 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.765, allocations: 31.17 kB / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.7651, allocations: 104.8 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.7651, allocations: 26.02 kB / 0.9578 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.7651, allocations: 5.312 kB / 0.9578 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.7652, allocations: 320.3 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.7654, allocations: 85.17 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.7656, allocations: 137 kB / 0.9583 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.7657, allocations: 168.1 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7658, allocations: 0 / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005075/0.7663, allocations: 381.1 kB / 0.9588 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.7663, allocations: 100.8 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7663, allocations: 5.031 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7664, allocations: 3.688 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-05/0.7664, allocations: 6.234 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7664, allocations: 2.625 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.767, allocations: 122.1 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.767, allocations: 21.3 kB / 0.9591 GB, free: 3.551 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.288e-05/0.7671, allocations: 131.7 kB / 0.9592 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.7671, allocations: 12.2 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.7672, allocations: 9.875 kB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.7672, allocations: 1.375 kB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7672, allocations: 0 / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7672, allocations: 5.125 kB / 0.9592 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.7673, allocations: 193 kB / 0.9594 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7673, allocations: 1.531 kB / 0.9594 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.7673, allocations: 5.359 kB / 0.9594 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7673, allocations: 1.438 kB / 0.9594 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.7673, allocations: 5.141 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7673, allocations: 0 / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7674, allocations: 1.375 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.7675, allocations: 137.8 kB / 0.9595 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.7675, allocations: 87.05 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.7676, allocations: 2.125 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.7676, allocations: 7.938 kB / 0.9596 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.7676, allocations: 16.36 kB / 0.9596 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.7677, allocations: 4.125 kB / 0.9596 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.7677, allocations: 94.27 kB / 0.9597 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.82e-07/0.7677, allocations: 0 / 0.9597 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002724/0.768, allocations: 51.81 kB / 0.9598 GB, free: 2.855 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003512/0.7684, allocations: 0.6769 MB / 0.9604 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.7688, allocations: 362.7 kB / 0.9608 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7688, allocations: 0 / 0.9608 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.7688, allocations: 39.67 kB / 0.9608 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.7691, allocations: 26.47 kB / 0.9609 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.7698, allocations: 1.348 MB / 0.9622 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.77, allocations: 0.6944 MB / 0.9629 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.77, allocations: 9.953 kB / 0.9629 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.7701, allocations: 28.97 kB / 0.9629 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7701, allocations: 0 / 0.9629 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.7847, allocations: 3.403 MB / 0.9662 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.7849, allocations: 180 kB / 0.9664 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.542, allocations: 0 / 0.9664 GB, free: 13.91 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat