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.0008655/0.0008654, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001011/0.001011, allocations: 172.7 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.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.309 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.42/2.42, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 12 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7414, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.0008829/0.7424, allocations: 0.5312 MB / 0.9544 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.7439, allocations: 1.452 MB / 0.9558 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.744, allocations: 6.344 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.584e-05/0.7442, allocations: 13.17 kB / 0.9558 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.7442, allocations: 26.39 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.7454, allocations: 480 kB / 0.9563 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.7459, allocations: 377.7 kB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.746, allocations: 39.22 kB / 0.9567 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.7463, allocations: 159.6 kB / 0.9568 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.7465, allocations: 126.8 kB / 0.957 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.7466, allocations: 21.09 kB / 0.957 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.7467, allocations: 31.7 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.7468, allocations: 30.58 kB / 0.957 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.7469, allocations: 71.7 kB / 0.9571 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.7472, allocations: 285.6 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7472, allocations: 1.5 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7472, allocations: 0 / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7472, allocations: 0 / 0.9574 GB, free: 5.445 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.0005625/0.7478, allocations: 0.5798 MB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7479, allocations: 10.78 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.7479, allocations: 46.09 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.748, allocations: 27.53 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.7483, allocations: 258.9 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.7483, allocations: 17.62 kB / 0.9583 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.7484, allocations: 28.75 kB / 0.9583 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.7487, allocations: 153.2 kB / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7487, allocations: 0 / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.7487, allocations: 6.453 kB / 0.9585 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.7487, allocations: 6.391 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.7489, allocations: 82.92 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.7496, allocations: 0.7147 MB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.7498, allocations: 170 kB / 0.9594 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.7499, allocations: 50.27 kB / 0.9595 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.7499, allocations: 1.625 kB / 0.9595 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.7502, allocations: 159.1 kB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.7502, allocations: 0 / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004584/0.7506, allocations: 243.5 kB / 0.9599 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.7507, allocations: 58.16 kB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7508, allocations: 181.7 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.7509, allocations: 39.33 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.751, allocations: 131.5 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.751, allocations: 34.48 kB / 0.9603 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.7511, allocations: 12.25 kB / 0.9603 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.7511, allocations: 327 kB / 0.9606 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.7514, allocations: 153 kB / 0.9608 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.7517, allocations: 241.1 kB / 0.961 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.752, allocations: 290.5 kB / 0.9613 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.752, allocations: 5.5 kB / 0.9613 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00093/0.753, allocations: 0.6281 MB / 0.9619 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.7531, allocations: 168.3 kB / 0.962 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7531, allocations: 6.359 kB / 0.962 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7531, allocations: 5.406 kB / 0.9621 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.7531, allocations: 9.125 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7532, allocations: 4 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/0.754, allocations: 197.2 kB / 0.9623 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.7541, allocations: 34.59 kB / 0.9623 GB, free: 1.406 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.0001699/0.7543, allocations: 160.5 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.7543, allocations: 15.69 kB / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.7544, allocations: 20.42 kB / 0.9625 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.7544, allocations: 6.266 kB / 0.9625 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.7544, allocations: 0.75 kB / 0.9625 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7544, allocations: 4 kB / 0.9625 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.755, allocations: 0.5046 MB / 0.963 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7551, allocations: 1.062 kB / 0.963 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.7551, allocations: 7.172 kB / 0.963 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.7551, allocations: 4.891 kB / 0.963 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.7551, allocations: 2.5 kB / 0.963 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7551, allocations: 1.5 kB / 0.963 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7551, allocations: 3.938 kB / 0.963 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.7555, allocations: 288.1 kB / 0.9633 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.7555, allocations: 89.39 kB / 0.9634 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.7555, allocations: 6.281 kB / 0.9634 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.7556, allocations: 9 kB / 0.9634 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.7557, allocations: 17.23 kB / 0.9634 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.7557, allocations: 13.23 kB / 0.9634 GB, free: 468 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001086/0.7558, allocations: 123.2 kB / 0.9635 GB, free: 368 kB / 0.7169 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7558, allocations: 0 / 0.9635 GB, free: 368 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000472/0.7563, allocations: 81.03 kB / 0.9636 GB, free: 356 kB / 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.0008793/0.7572, allocations: 0.8289 MB / 0.9644 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009251/0.7581, allocations: 0.6239 MB / 0.965 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7582, allocations: 0 / 0.965 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.7583, allocations: 74.34 kB / 0.9651 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.7588, allocations: 48.2 kB / 0.9651 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.7614, allocations: 1.481 MB / 0.9666 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7617, allocations: 0.7276 MB / 0.9673 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.7618, allocations: 24.67 kB / 0.9673 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.7619, allocations: 58.56 kB / 0.9674 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.7619, allocations: 0 / 0.9674 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.7814, allocations: 5.871 MB / 0.9731 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.7817, allocations: 185 kB / 0.9733 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.632, allocations: 0 / 0.9733 GB, free: 10.17 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