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.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00166/0.00166, allocations: 172 kB / 0.4901 GB, free: 2.25 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.569/1.569, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001056/0.001056, allocations: 86.69 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003986, allocations: 11.19 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.4552, allocations: 150.4 MB / 1.376 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4555, allocations: 67.97 kB / 1.376 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02172/0.4772, allocations: 6.824 MB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4772, allocations: 0 / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.4773, allocations: 8 kB / 1.383 GB, free: 12.12 MB / 0.8855 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.0008748/0.4782, allocations: 0.5774 MB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4782, allocations: 8.562 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.4783, allocations: 50.55 kB / 1.384 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.4785, allocations: 35.75 kB / 1.384 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.4789, allocations: 254.9 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.4789, allocations: 23.92 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.479, allocations: 31.94 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.4793, allocations: 160.9 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.4793, allocations: 0 / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4793, allocations: 8 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4793, allocations: 0 / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.4795, allocations: 87.88 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.4804, allocations: 0.6916 MB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4806, allocations: 171.6 kB / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.4807, allocations: 0 / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.4809, allocations: 160.2 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.4809, allocations: 0 / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0004447/0.4814, allocations: 235.3 kB / 1.385 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.4814, allocations: 63.36 kB / 1.385 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.4816, allocations: 174.8 kB / 1.386 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.4816, allocations: 41.64 kB / 1.386 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4818, allocations: 128.4 kB / 1.386 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4818, allocations: 43.59 kB / 1.386 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.4818, allocations: 12 kB / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.482, allocations: 326.8 kB / 1.386 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.4823, allocations: 155.9 kB / 1.386 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.4827, allocations: 241.9 kB / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.483, allocations: 289.7 kB / 1.387 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.483, allocations: 4 kB / 1.387 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009515/0.484, allocations: 0.6154 MB / 1.387 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.4841, allocations: 160.5 kB / 1.387 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4841, allocations: 4 kB / 1.388 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4842, allocations: 4 kB / 1.388 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.261e-05/0.4842, allocations: 12.27 kB / 1.388 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4842, allocations: 8 kB / 1.388 GB, free: 7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.485, allocations: 191.7 kB / 1.388 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.4851, allocations: 27.97 kB / 1.388 GB, free: 6.785 MB / 0.8855 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.0001874/0.4853, allocations: 163.8 kB / 1.388 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.4853, allocations: 15.81 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.4854, allocations: 17.81 kB / 1.388 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4854, allocations: 4 kB / 1.388 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4854, allocations: 3.984 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4854, allocations: 0 / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.486, allocations: 0.5107 MB / 1.388 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.486, allocations: 0 / 1.388 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.486, allocations: 4 kB / 1.388 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.486, allocations: 8.078 kB / 1.388 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.486, allocations: 7.938 kB / 1.388 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.486, allocations: 4 kB / 1.388 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.486, allocations: 0 / 1.388 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.4864, allocations: 284.7 kB / 1.389 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.4865, allocations: 88.92 kB / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4865, allocations: 4 kB / 1.389 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.4866, allocations: 4 kB / 1.389 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4866, allocations: 27.97 kB / 1.389 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4866, allocations: 7.984 kB / 1.389 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.4867, allocations: 119.2 kB / 1.389 GB, free: 5.434 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4867, allocations: 0 / 1.389 GB, free: 5.434 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003703/0.4871, allocations: 83.95 kB / 1.389 GB, free: 5.352 MB / 0.8855 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.0006591/0.4878, allocations: 0.8353 MB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007795/0.4886, allocations: 0.6074 MB / 1.39 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4886, allocations: 0 / 1.39 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4887, allocations: 87.84 kB / 1.391 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.4891, allocations: 48.58 kB / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.4909, allocations: 2.295 MB / 1.393 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4913, allocations: 0.74 MB / 1.394 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.896e-05/0.4914, allocations: 21.53 kB / 1.394 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.4915, allocations: 55.42 kB / 1.394 GB, free: 464 kB / 0.8855 GB Notification: Performance of SimCode: time 5.921e-06/0.4915, allocations: 0 / 1.394 GB, free: 464 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.5152, allocations: 5.793 MB / 1.399 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.5156, allocations: 187.5 kB / 1.399 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.328, allocations: 3.938 kB / 1.399 GB, free: 10.6 MB / 0.9011 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