Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.404/2.404, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001313/0.001313, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.637/1.637, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.000937/0.0009371, allocations: 94.55 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.817e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.306, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.351, allocations: 149.3 MB / 1.358 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.351, allocations: 71.97 kB / 1.358 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009011/1.36, allocations: 2.913 MB / 1.361 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/1.36, allocations: 0 / 1.361 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.36, allocations: 7.812 kB / 1.361 GB, free: 34.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004055/1.361, allocations: 413.5 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.361, allocations: 7.719 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/1.361, allocations: 34.53 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/1.361, allocations: 5.391 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/1.361, allocations: 174.5 kB / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.361, allocations: 9.719 kB / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/1.361, allocations: 11.66 kB / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/1.361, allocations: 48.88 kB / 1.362 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.361, allocations: 4 kB / 1.362 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.361, allocations: 3.984 kB / 1.362 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.361, allocations: 5.641 kB / 1.362 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/1.361, allocations: 16.12 kB / 1.362 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/1.362, allocations: 357.2 kB / 1.362 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/1.362, allocations: 30.36 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/1.362, allocations: 19.39 kB / 1.362 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/1.362, allocations: 3.844 kB / 1.362 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/1.362, allocations: 73.66 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.362, allocations: 3.938 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001973/1.362, allocations: 91.25 kB / 1.362 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.362, allocations: 55.36 kB / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/1.362, allocations: 111.4 kB / 1.363 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/1.362, allocations: 41.14 kB / 1.363 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/1.362, allocations: 92.75 kB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/1.362, allocations: 7.469 kB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.362, allocations: 5 kB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/1.362, allocations: 319.3 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.363, allocations: 54 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/1.363, allocations: 99.66 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/1.363, allocations: 109.9 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.363, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003498/1.363, allocations: 253.4 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/1.363, allocations: 70.7 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.363, allocations: 11.94 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.363, allocations: 0 / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.157e-05/1.363, allocations: 5.391 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.363, allocations: 0 / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/1.364, allocations: 78.42 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/1.364, allocations: 13.44 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.73e-05/1.364, allocations: 115.4 kB / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/1.364, allocations: 7.719 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/1.364, allocations: 9.703 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.364, allocations: 3.906 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.364, allocations: 7.938 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.364, allocations: 0 / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/1.364, allocations: 180.9 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.364, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/1.364, allocations: 1.547 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.364, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.364, allocations: 3.875 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.364, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.364, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/1.364, allocations: 118.6 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/1.364, allocations: 80.98 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/1.364, allocations: 1.688 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/1.364, allocations: 0 / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/1.364, allocations: 7.344 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/1.364, allocations: 7.031 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.805e-05/1.364, allocations: 88.69 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.364, allocations: 0 / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002249/1.364, allocations: 28.69 kB / 1.364 GB, free: 31.95 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003871/1.365, allocations: 0.6687 MB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002637/1.365, allocations: 239.2 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.365, allocations: 288 / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/1.365, allocations: 28.17 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/1.365, allocations: 18.17 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/1.366, allocations: 149.5 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/1.366, allocations: 0.6885 MB / 1.366 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.603e-05/1.366, allocations: 7.656 kB / 1.366 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/1.366, allocations: 18.12 kB / 1.366 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.366, allocations: 4 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/1.379, allocations: 2.552 MB / 1.369 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/1.379, allocations: 152.8 kB / 1.369 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.836, allocations: 0 / 1.369 GB, free: 29.87 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat does not exist to compare? outputFormat=mat