Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.278/2.278, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001164/0.001164, allocations: 172 kB / 0.4901 GB, free: 2.246 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.62/1.62, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001088/0.001088, allocations: 96.27 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004169, allocations: 11.25 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5209, allocations: 150.2 MB / 1.376 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.5212, allocations: 75.95 kB / 1.376 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00875/0.53, allocations: 2.934 MB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of FrontEnd: time 6.332e-06/0.53, allocations: 0 / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.53, allocations: 3.938 kB / 1.379 GB, free: 340 kB / 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.0004995/0.5305, allocations: 422.6 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.5306, allocations: 16.55 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.5307, allocations: 30.56 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.5307, allocations: 11.91 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.5309, allocations: 171 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5309, allocations: 4 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5309, allocations: 11.98 kB / 1.38 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5311, allocations: 45.69 kB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5311, allocations: 0 / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5311, allocations: 4 kB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5311, allocations: 4 kB / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.5312, allocations: 23.92 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.5317, allocations: 356.7 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.5318, allocations: 34.56 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.5318, allocations: 0 / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.532, allocations: 95.3 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 2.916e-06/0.532, allocations: 3.984 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000278/0.5323, allocations: 97.89 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5323, allocations: 59.36 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.5324, allocations: 109.1 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.5325, allocations: 37.69 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.5326, allocations: 92.27 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.5326, allocations: 15.8 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.5326, allocations: 11.94 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5327, allocations: 322.8 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.5329, allocations: 55.97 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.533, allocations: 96.31 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.5332, allocations: 115.4 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5332, allocations: 0 / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004066/0.5336, allocations: 256.9 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/0.5337, allocations: 63.41 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5337, allocations: 4.469 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5337, allocations: 3.984 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.822e-05/0.5337, allocations: 7.938 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5338, allocations: 0 / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.5341, allocations: 79.92 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.5342, allocations: 23.92 kB / 1.381 GB, free: 13.41 MB / 0.8855 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.0001106/0.5343, allocations: 121.8 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.5343, allocations: 4 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.5343, allocations: 8.375 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5343, allocations: 0 / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5343, allocations: 0 / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5344, allocations: 4 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.5345, allocations: 173.6 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5345, allocations: 4 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.5345, allocations: 7.938 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5345, allocations: 0 / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5346, allocations: 7.984 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5346, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5346, allocations: 0 / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.5347, allocations: 109 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.5348, allocations: 85.02 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5348, allocations: 4 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.5348, allocations: 4 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.5349, allocations: 7.984 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.5349, allocations: 8 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.5349, allocations: 95.2 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5349, allocations: 0 / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002376/0.5352, allocations: 32 kB / 1.382 GB, free: 12.64 MB / 0.8855 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.0005393/0.5357, allocations: 0.6599 MB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.5361, allocations: 254.7 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5361, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.5362, allocations: 23.94 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.5364, allocations: 17.19 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.5373, allocations: 0.9955 MB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.5376, allocations: 0.6926 MB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.5e-05/0.5376, allocations: 15.77 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.5377, allocations: 15.38 kB / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/0.5377, allocations: 4 kB / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.5523, allocations: 2.547 MB / 1.387 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.5525, allocations: 179.8 kB / 1.387 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.15, allocations: 0 / 1.387 GB, free: 7.18 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat does not exist to compare? outputFormat=mat