Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.001414/0.001414, allocations: 100.5 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.001766/0.001766, allocations: 177.3 kB / 15.94 MB, free: 228 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.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.447/2.447, allocations: 390.3 MB / 0.6653 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 8 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7165, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.0007915/0.7173, allocations: 0.5338 MB / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.7186, allocations: 1.37 MB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.7186, allocations: 2.531 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.869e-05/0.7187, allocations: 11.92 kB / 0.9555 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.7188, allocations: 34.84 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009508/0.7197, allocations: 475.4 kB / 0.956 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.72, allocations: 234.5 kB / 0.9562 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.7201, allocations: 38.16 kB / 0.9562 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.7203, allocations: 150.6 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.7204, allocations: 126.4 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.7205, allocations: 25.34 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.7206, allocations: 38.8 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.7206, allocations: 34.84 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.7207, allocations: 62.98 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.7209, allocations: 287.3 kB / 0.9569 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.7209, allocations: 3.938 kB / 0.9569 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.721, allocations: 0 / 0.9569 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.721, allocations: 0 / 0.9569 GB, free: 5.652 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004549/0.7214, allocations: 0.5737 MB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7215, allocations: 9.062 kB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.7215, allocations: 50.09 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.7216, allocations: 29.22 kB / 0.9576 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.7218, allocations: 254 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7219, allocations: 20.72 kB / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.7219, allocations: 37.36 kB / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.7222, allocations: 156.3 kB / 0.958 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7222, allocations: 0 / 0.958 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.7222, allocations: 5.719 kB / 0.958 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.7222, allocations: 7.109 kB / 0.958 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.7223, allocations: 78.11 kB / 0.9581 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.723, allocations: 0.7079 MB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.7232, allocations: 169.1 kB / 0.9589 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.7232, allocations: 7.156 kB / 0.9589 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.7234, allocations: 156.7 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.7234, allocations: 3.938 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003736/0.7238, allocations: 243.1 kB / 0.9593 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.7238, allocations: 59.53 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.7239, allocations: 176.3 kB / 0.9596 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.724, allocations: 47.31 kB / 0.9596 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.724, allocations: 128.1 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.7241, allocations: 34.39 kB / 0.9598 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.7241, allocations: 12.53 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.7242, allocations: 331.2 kB / 0.9601 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.7245, allocations: 155.9 kB / 0.9602 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.7247, allocations: 241.3 kB / 0.9605 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.725, allocations: 282.4 kB / 0.9607 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.725, allocations: 0.9688 kB / 0.9607 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008286/0.7259, allocations: 0.6284 MB / 0.9613 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.7259, allocations: 160 kB / 0.9615 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.726, allocations: 7.062 kB / 0.9615 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.726, allocations: 8.891 kB / 0.9615 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.242e-05/0.726, allocations: 12.95 kB / 0.9615 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.726, allocations: 8.375 kB / 0.9615 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.7269, allocations: 197.5 kB / 0.9617 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.7269, allocations: 34.22 kB / 0.9618 GB, free: 1.641 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001325/0.7271, allocations: 160.4 kB / 0.9619 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.7271, allocations: 24.12 kB / 0.9619 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.7271, allocations: 16.53 kB / 0.9619 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.7271, allocations: 6.672 kB / 0.962 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7271, allocations: 0 / 0.962 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7272, allocations: 3.984 kB / 0.962 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.7276, allocations: 0.5104 MB / 0.9625 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7276, allocations: 1.219 kB / 0.9625 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.7277, allocations: 6.312 kB / 0.9625 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7277, allocations: 5.234 kB / 0.9625 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7277, allocations: 10.39 kB / 0.9625 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7277, allocations: 1.062 kB / 0.9625 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7277, allocations: 1.125 kB / 0.9625 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.728, allocations: 278.1 kB / 0.9627 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.728, allocations: 92.77 kB / 0.9628 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.7281, allocations: 2.688 kB / 0.9628 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.7281, allocations: 5.406 kB / 0.9628 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.7282, allocations: 23.98 kB / 0.9629 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.7282, allocations: 10.36 kB / 0.9629 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.7283, allocations: 122.3 kB / 0.963 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.132e-06/0.7283, allocations: 0 / 0.963 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003841/0.7287, allocations: 85.28 kB / 0.9631 GB, free: 0.5742 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006156/0.7293, allocations: 0.8224 MB / 0.9639 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008341/0.7302, allocations: 0.6191 MB / 0.9645 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7302, allocations: 2.031 kB / 0.9645 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.7303, allocations: 76.56 kB / 0.9646 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.7307, allocations: 40.47 kB / 0.9646 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.7325, allocations: 2.306 MB / 0.9668 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.7329, allocations: 0.7297 MB / 0.9676 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.733, allocations: 27.94 kB / 0.9676 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.7331, allocations: 61.95 kB / 0.9676 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7331, allocations: 0 / 0.9676 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.7517, allocations: 5.799 MB / 0.9733 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.752, allocations: 185.5 kB / 0.9735 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.562, allocations: 0 / 0.9735 GB, free: 9.184 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat does not exist to compare? outputFormat=mat