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.261/2.261, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001122/0.001121, allocations: 193 kB / 498.1 MB, free: 5.785 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.455/1.455, allocations: 223.2 MB / 0.7948 GB, free: 18 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.001266/0.001266, allocations: 101.1 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 10.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2929, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.4729, allocations: 149.4 MB / 1.369 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4733, allocations: 71.95 kB / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008415/0.4817, allocations: 2.946 MB / 1.372 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4817, allocations: 0 / 1.372 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.4817, allocations: 0 / 1.372 GB, free: 9.648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004849/0.4822, allocations: 418.6 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4823, allocations: 8.031 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.4823, allocations: 30.56 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.4824, allocations: 15.89 kB / 1.372 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4825, allocations: 178.9 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4826, allocations: 4 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.4826, allocations: 8 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4827, allocations: 57.67 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4828, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4828, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4828, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.4828, allocations: 15.98 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.4833, allocations: 364.6 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.4834, allocations: 34.58 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4834, allocations: 7.938 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.4836, allocations: 79.45 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4836, allocations: 3.938 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002294/0.4838, allocations: 97.58 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4839, allocations: 59.36 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.484, allocations: 109.2 kB / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.484, allocations: 33.7 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.4841, allocations: 96.3 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.4841, allocations: 15.81 kB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.4841, allocations: 0 / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4843, allocations: 318.8 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.4844, allocations: 63.95 kB / 1.374 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4845, allocations: 92.2 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.4847, allocations: 116.7 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4847, allocations: 0 / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003837/0.4851, allocations: 260.8 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.4851, allocations: 71.39 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4851, allocations: 0 / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4852, allocations: 4.125 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.4852, allocations: 4 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.4852, allocations: 7.922 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.4855, allocations: 83.89 kB / 1.374 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.4856, allocations: 8 kB / 1.374 GB, free: 6.746 MB / 0.8698 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 () * Number of clocked 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.000102/0.4857, allocations: 128.1 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4857, allocations: 7.906 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.4857, allocations: 4.375 kB / 1.374 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4857, allocations: 4 kB / 1.374 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4857, allocations: 4 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4858, allocations: 0 / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.4859, allocations: 185.6 kB / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4859, allocations: 0 / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-06/0.4859, allocations: 0 / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4859, allocations: 0 / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4859, allocations: 4 kB / 1.375 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4859, allocations: 3.938 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4859, allocations: 0 / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4861, allocations: 117 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.4861, allocations: 81.02 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4862, allocations: 3.984 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.4862, allocations: 4 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.4862, allocations: 11.98 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4862, allocations: 0 / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.4863, allocations: 91.27 kB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4863, allocations: 0 / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002296/0.4865, allocations: 36 kB / 1.375 GB, free: 5.977 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked 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.0004441/0.487, allocations: 0.6676 MB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.4873, allocations: 242.6 kB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4873, allocations: 0 / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.4874, allocations: 31.98 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.4876, allocations: 16.23 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.4883, allocations: 0.9987 MB / 1.377 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.4886, allocations: 0.6926 MB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.4886, allocations: 11.77 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.4886, allocations: 23.42 kB / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/0.4886, allocations: 0 / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.501, allocations: 2.531 MB / 1.38 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.5011, allocations: 178 kB / 1.38 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.033, allocations: 3.938 kB / 1.38 GB, free: 0.5117 MB / 0.8698 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