Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.452/2.452, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 183.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 99.88 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.165e-05/4.189e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.314, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.334, allocations: 150.4 MB / 1.366 GB, free: 3.676 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.334, allocations: 72.27 kB / 1.366 GB, free: 3.637 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02048/1.354, allocations: 6.808 MB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/1.354, allocations: 0 / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.354, allocations: 7.938 kB / 1.372 GB, free: 13.7 MB / 0.8386 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.0007899/1.355, allocations: 0.5588 MB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.355, allocations: 16.02 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.857e-05/1.355, allocations: 41.38 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/1.356, allocations: 39.66 kB / 1.373 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/1.356, allocations: 247.8 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/1.356, allocations: 19.5 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/1.356, allocations: 30.12 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/1.356, allocations: 155 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.356, allocations: 4 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/1.356, allocations: 6.984 kB / 1.374 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.356, allocations: 4 kB / 1.374 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/1.357, allocations: 77.34 kB / 1.374 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/1.358, allocations: 0.7052 MB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/1.358, allocations: 164 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/1.358, allocations: 53.75 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/1.358, allocations: 0 / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/1.358, allocations: 154.7 kB / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/1.358, allocations: 0 / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003603/1.359, allocations: 187.4 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.359, allocations: 55.41 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/1.359, allocations: 173.5 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/1.359, allocations: 40.89 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.359, allocations: 125.6 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/1.359, allocations: 41.03 kB / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/1.359, allocations: 11.12 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.359, allocations: 329 kB / 1.376 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/1.359, allocations: 152.4 kB / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/1.36, allocations: 237.7 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/1.36, allocations: 292 kB / 1.376 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.36, allocations: 0 / 1.376 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009694/1.361, allocations: 0.6061 MB / 1.377 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.361, allocations: 164.2 kB / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.361, allocations: 4.062 kB / 1.377 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.361, allocations: 8 kB / 1.377 GB, free: 9.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.431e-05/1.361, allocations: 7.984 kB / 1.377 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.361, allocations: 7.938 kB / 1.377 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/1.362, allocations: 187.4 kB / 1.377 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/1.362, allocations: 31.16 kB / 1.377 GB, free: 9.055 MB / 0.8386 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 () * 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.000145/1.362, allocations: 140.5 kB / 1.377 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/1.362, allocations: 15.8 kB / 1.377 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/1.363, allocations: 16.78 kB / 1.377 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.363, allocations: 4 kB / 1.377 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.363, allocations: 0 / 1.377 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.363, allocations: 4 kB / 1.377 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/1.363, allocations: 0.4969 MB / 1.378 GB, free: 8.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.363, allocations: 7.922 kB / 1.378 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/1.363, allocations: 11.19 kB / 1.378 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/1.363, allocations: 4 kB / 1.378 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.363, allocations: 0 / 1.378 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.363, allocations: 0 / 1.378 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.363, allocations: 0 / 1.378 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/1.364, allocations: 288.1 kB / 1.378 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/1.364, allocations: 88.92 kB / 1.378 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/1.364, allocations: 4 kB / 1.378 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/1.364, allocations: 11.61 kB / 1.378 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/1.364, allocations: 19.28 kB / 1.378 GB, free: 7.988 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/1.364, allocations: 14.88 kB / 1.378 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000109/1.364, allocations: 116.7 kB / 1.378 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.364, allocations: 0 / 1.378 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004213/1.364, allocations: 82.55 kB / 1.378 GB, free: 7.797 MB / 0.8386 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 () * 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.0008963/1.365, allocations: 0.8373 MB / 1.379 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008257/1.366, allocations: 0.6019 MB / 1.38 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.366, allocations: 4.062 kB / 1.38 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.366, allocations: 76.61 kB / 1.38 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/1.367, allocations: 47.47 kB / 1.38 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/1.368, allocations: 286.8 kB / 1.38 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/1.368, allocations: 0.7363 MB / 1.381 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.539e-05/1.368, allocations: 21.53 kB / 1.381 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/1.368, allocations: 56.48 kB / 1.381 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.368, allocations: 0 / 1.381 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/1.388, allocations: 5.857 MB / 1.387 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.388, allocations: 161.1 kB / 1.387 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/3.07, allocations: 0 / 1.387 GB, free: 15.35 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat does not exist to compare? outputFormat=mat