Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.0009759/0.0009759, allocations: 175 kB / 498.1 MB, free: 5.75 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.589/1.589, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.000939/0.000939, allocations: 96.33 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003963, allocations: 11.22 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2731, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4705, allocations: 149.3 MB / 1.369 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4708, allocations: 79.83 kB / 1.369 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0057/0.4765, allocations: 1.779 MB / 1.371 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4766, allocations: 0 / 1.371 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4766, allocations: 0 / 1.371 GB, free: 10.81 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005426/0.4771, allocations: 376.9 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4772, allocations: 12.03 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.4773, allocations: 42.44 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.4773, allocations: 4 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.4775, allocations: 167 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4775, allocations: 8 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.4775, allocations: 4 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.4777, allocations: 41.69 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4777, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4777, allocations: 3.938 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4777, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.4778, allocations: 11.98 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.4782, allocations: 292.8 kB / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.821e-05/0.4783, allocations: 18.58 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4783, allocations: 3.984 kB / 1.372 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.4785, allocations: 63.38 kB / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.4785, allocations: 0 / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002195/0.4788, allocations: 61.61 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4788, allocations: 63.36 kB / 1.372 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.4789, allocations: 96.94 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.479, allocations: 25.7 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.479, allocations: 88.12 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.479, allocations: 3.906 kB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.4791, allocations: 8 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4792, allocations: 314.8 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.4793, allocations: 27.98 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.4794, allocations: 50.55 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.4795, allocations: 57.64 kB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4795, allocations: 0 / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002492/0.4797, allocations: 143.2 kB / 1.372 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.4798, allocations: 41.78 kB / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4798, allocations: 4 kB / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4798, allocations: 0 / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.71e-05/0.4799, allocations: 0 / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4799, allocations: 4 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4801, allocations: 39.92 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.4801, allocations: 7.984 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001029/0.4802, allocations: 113.8 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.4802, allocations: 4 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.4803, allocations: 3.5 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4803, allocations: 0 / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4803, allocations: 0 / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.4803, allocations: 240 / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4804, allocations: 169.5 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4805, allocations: 3.938 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.4805, allocations: 7.984 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4805, allocations: 0 / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4805, allocations: 4 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4805, allocations: 4.25 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4805, allocations: 4 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.4806, allocations: 73.08 kB / 1.373 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.4807, allocations: 89 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4807, allocations: 4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.4807, allocations: 4 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.4808, allocations: 4 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4808, allocations: 0 / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.4808, allocations: 83.27 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4809, allocations: 0 / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002234/0.4811, allocations: 24 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005458/0.4816, allocations: 0.6356 MB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4819, allocations: 119.4 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4819, allocations: 0 / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.4819, allocations: 11.94 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4821, allocations: 14.38 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.4829, allocations: 0.6362 MB / 1.375 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4832, allocations: 0.6848 MB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.4832, allocations: 4 kB / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.4833, allocations: 11.44 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/0.4833, allocations: 0 / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.5036, allocations: 1.636 MB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.504, allocations: 170.3 kB / 1.377 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.099, allocations: 0 / 1.377 GB, free: 3.84 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat does not exist to compare? outputFormat=mat