Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001482/0.001482, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.563/1.563, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001158/0.001158, allocations: 93.78 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.114e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.301, allocations: 149.3 MB / 1.358 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/1.302, allocations: 69.47 kB / 1.358 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009493/1.311, allocations: 2.924 MB / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.311, allocations: 0 / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.936e-06/1.311, allocations: 3.844 kB / 1.361 GB, free: 34.64 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.0003655/1.311, allocations: 413.2 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.312, allocations: 7.688 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/1.312, allocations: 39.73 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/1.312, allocations: 7.156 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/1.312, allocations: 171.6 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/1.312, allocations: 7.75 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/1.312, allocations: 13.22 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/1.312, allocations: 48.61 kB / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.312, allocations: 7.984 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.312, allocations: 0 / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.312, allocations: 0 / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/1.312, allocations: 18.38 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/1.313, allocations: 358.9 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/1.313, allocations: 33.3 kB / 1.362 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/1.313, allocations: 13.94 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/1.313, allocations: 7.844 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/1.313, allocations: 74.92 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/1.313, allocations: 0 / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/1.313, allocations: 96.92 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/1.313, allocations: 55.36 kB / 1.363 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/1.313, allocations: 111.4 kB / 1.363 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/1.313, allocations: 33.58 kB / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/1.313, allocations: 96.73 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/1.313, allocations: 9.641 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/1.313, allocations: 7.531 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/1.313, allocations: 312.7 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/1.313, allocations: 66.91 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/1.314, allocations: 87.88 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/1.314, allocations: 114.5 kB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.314, allocations: 0 / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003393/1.314, allocations: 259.1 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.314, allocations: 71.2 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.314, allocations: 0 / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.314, allocations: 5.438 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/1.314, allocations: 7.062 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.314, allocations: 0 / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/1.314, allocations: 79.17 kB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/1.315, allocations: 9.141 kB / 1.364 GB, free: 32.64 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,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 7.213e-05/1.315, allocations: 118.1 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/1.315, allocations: 11.66 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/1.315, allocations: 7.75 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.315, allocations: 1.078 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.315, allocations: 4.875 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.315, allocations: 0 / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/1.315, allocations: 178.3 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.315, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/1.315, allocations: 5.531 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.315, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.315, allocations: 4 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.315, allocations: 4 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.315, allocations: 3.812 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/1.315, allocations: 118.1 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/1.315, allocations: 77.11 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.315, allocations: 8.75 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/1.315, allocations: 3.938 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/1.315, allocations: 8.625 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/1.315, allocations: 7.062 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.438e-05/1.315, allocations: 87.41 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.315, allocations: 0 / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000218/1.315, allocations: 31.64 kB / 1.364 GB, free: 32.07 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,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.0003494/1.316, allocations: 0.6671 MB / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002565/1.316, allocations: 248.1 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.316, allocations: 0 / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/1.316, allocations: 25.72 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/1.316, allocations: 18.22 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/1.317, allocations: 144.8 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/1.317, allocations: 0.693 MB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.572e-05/1.317, allocations: 9.125 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/1.317, allocations: 16 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.317, allocations: 0 / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/1.329, allocations: 2.565 MB / 1.369 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/1.329, allocations: 160.5 kB / 1.369 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/3.017, allocations: 0 / 1.369 GB, free: 29.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat does not exist to compare? outputFormat=mat