Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 180.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.001099, allocations: 95.17 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.423e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8332, allocations: 115.2 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/1.066, allocations: 137.2 MB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.066, allocations: 76.55 kB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01414/1.08, allocations: 2.912 MB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.08, allocations: 0 / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.081, allocations: 0.6562 kB / 1.1 GB, free: 368 kB / 0.698 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.0005276/1.081, allocations: 413.5 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.081, allocations: 12.03 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/1.081, allocations: 9.203 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/1.081, allocations: 164.7 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/1.081, allocations: 7.984 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/1.081, allocations: 8 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.034e-05/1.082, allocations: 15.94 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/1.082, allocations: 41.69 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.082, allocations: 4 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.082, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.082, allocations: 4 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/1.082, allocations: 333.2 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.153e-05/1.082, allocations: 26.58 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/1.083, allocations: 20.8 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/1.083, allocations: 4 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/1.083, allocations: 81.94 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/1.083, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002737/1.083, allocations: 88.31 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.083, allocations: 51.41 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.083, allocations: 114.4 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/1.083, allocations: 33.7 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/1.083, allocations: 96.23 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/1.083, allocations: 15.83 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/1.083, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.084, allocations: 329.9 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/1.084, allocations: 51.98 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/1.084, allocations: 80.28 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/1.085, allocations: 71.94 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.085, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008482/1.085, allocations: 201.4 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/1.085, allocations: 72.64 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.086, allocations: 4 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.086, allocations: 8 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/1.086, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.086, allocations: 4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/1.086, allocations: 67.94 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/1.086, allocations: 11.98 kB / 1.103 GB, free: 13.74 MB / 0.7136 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,xor1.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 0.0001305/1.086, allocations: 124.7 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001614/1.087, allocations: 73.59 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.087, allocations: 7.906 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/1.087, allocations: 12.61 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.087, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.087, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.087, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/1.087, allocations: 154.2 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.087, allocations: 0.8438 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/1.087, allocations: 3.938 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.087, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.087, allocations: 7.984 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.087, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.087, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/1.087, allocations: 109 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/1.087, allocations: 85.02 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/1.087, allocations: 0 / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/1.087, allocations: 5.812 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/1.087, allocations: 11.98 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/1.087, allocations: 4 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.189e-05/1.087, allocations: 87.27 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 4 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003631/1.088, allocations: 36 kB / 1.103 GB, free: 12.93 MB / 0.7136 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,xor1.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.0006141/1.088, allocations: 0.649 MB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004873/1.089, allocations: 238.7 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.089, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/1.089, allocations: 24.25 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/1.089, allocations: 24.23 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/1.09, allocations: 132.5 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/1.09, allocations: 0.6885 MB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.923e-05/1.09, allocations: 7.984 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/1.09, allocations: 25.19 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.09, allocations: 0 / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/1.131, allocations: 2.156 MB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003446/1.131, allocations: 140 kB / 1.107 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.409, allocations: 4.031 kB / 1.107 GB, free: 8.77 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)