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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001177/0.001177, allocations: 165 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008131/0.0008133, allocations: 80.02 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.952e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3207, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.398, allocations: 149.6 MB / 1.359 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/1.398, allocations: 74.05 kB / 1.359 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01917/1.417, allocations: 6.801 MB / 1.365 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.417, allocations: 0 / 1.365 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.417, allocations: 3.844 kB / 1.365 GB, free: 34.2 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.0005304/1.418, allocations: 0.5638 MB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.418, allocations: 7.688 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/1.418, allocations: 51.92 kB / 1.366 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/1.418, allocations: 29.73 kB / 1.366 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/1.418, allocations: 264 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/1.418, allocations: 17.27 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/1.418, allocations: 29.47 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/1.419, allocations: 152.3 kB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.419, allocations: 0 / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/1.419, allocations: 2.375 kB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.419, allocations: 3.656 kB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/1.419, allocations: 91.89 kB / 1.366 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/1.42, allocations: 0.6975 MB / 1.367 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/1.42, allocations: 166 kB / 1.367 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/1.42, allocations: 39.95 kB / 1.367 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/1.42, allocations: 3.938 kB / 1.367 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/1.42, allocations: 162.7 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/1.42, allocations: 3.844 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003328/1.42, allocations: 181.9 kB / 1.368 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.42, allocations: 55.25 kB / 1.368 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/1.421, allocations: 178 kB / 1.368 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/1.421, allocations: 40.39 kB / 1.368 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/1.421, allocations: 130.4 kB / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/1.421, allocations: 44.88 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/1.421, allocations: 10.94 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.421, allocations: 335.4 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/1.421, allocations: 155.9 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/1.421, allocations: 225.8 kB / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/1.422, allocations: 288.1 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.422, allocations: 4 kB / 1.369 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007765/1.423, allocations: 0.6007 MB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/1.423, allocations: 163 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.423, allocations: 7.391 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.423, allocations: 3.875 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/1.423, allocations: 8.094 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.423, allocations: 7.875 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/1.423, allocations: 189.4 kB / 1.37 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/1.424, allocations: 36.78 kB / 1.37 GB, free: 31.43 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.0001284/1.424, allocations: 136.8 kB / 1.37 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/1.424, allocations: 22.62 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/1.424, allocations: 15.84 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.424, allocations: 3.844 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.424, allocations: 0 / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.424, allocations: 3.094 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/1.424, allocations: 0.4992 MB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.424, allocations: 0 / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/1.424, allocations: 3.875 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/1.424, allocations: 7.047 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.424, allocations: 6.375 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.424, allocations: 0 / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.424, allocations: 0 / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/1.425, allocations: 279.3 kB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/1.425, allocations: 91.81 kB / 1.371 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/1.425, allocations: 3.875 kB / 1.371 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/1.425, allocations: 10.25 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/1.425, allocations: 24.84 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/1.425, allocations: 10.09 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.451e-05/1.425, allocations: 117.4 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.425, allocations: 0 / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003335/1.425, allocations: 82.34 kB / 1.371 GB, free: 30.65 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.0005274/1.426, allocations: 0.8335 MB / 1.372 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005939/1.426, allocations: 0.6034 MB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.426, allocations: 0 / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/1.426, allocations: 71.72 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/1.427, allocations: 51.78 kB / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/1.427, allocations: 286.6 kB / 1.373 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/1.428, allocations: 0.7374 MB / 1.374 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.172e-05/1.428, allocations: 26.19 kB / 1.374 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/1.428, allocations: 56.06 kB / 1.374 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.428, allocations: 0 / 1.374 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/1.447, allocations: 5.852 MB / 1.38 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/1.447, allocations: 158 kB / 1.38 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/3.283, allocations: 4 kB / 1.38 GB, free: 28.03 MB / 0.8386 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