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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.000948, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009528/0.0009529, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003529, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8195, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.000981/0.8205, allocations: 381.8 kB / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.822, allocations: 1.125 MB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.8221, allocations: 4.938 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.8221, allocations: 0 / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.528e-05/0.8222, allocations: 18.16 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000721/0.8229, allocations: 193 kB / 0.9553 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.8231, allocations: 86.88 kB / 0.9554 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.8232, allocations: 8.312 kB / 0.9554 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8233, allocations: 58.25 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.8235, allocations: 46.03 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.8235, allocations: 12.75 kB / 0.9555 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.8236, allocations: 22.11 kB / 0.9555 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.8236, allocations: 14.59 kB / 0.9555 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.8237, allocations: 40.73 kB / 0.9555 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.8238, allocations: 95.23 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.8238, allocations: 0 / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8238, allocations: 0 / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8239, allocations: 1.281 kB / 0.9556 GB, free: 6.539 MB / 0.7169 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.0004516/0.8243, allocations: 405.9 kB / 0.956 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.8244, allocations: 8.938 kB / 0.956 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.8244, allocations: 39.69 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.8245, allocations: 14.45 kB / 0.9561 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/0.8246, allocations: 186 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.8246, allocations: 4.406 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.8246, allocations: 9.344 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.8248, allocations: 51.52 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8248, allocations: 3.984 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.8248, allocations: 0 / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.8248, allocations: 5.094 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.8249, allocations: 16.83 kB / 0.9563 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.8253, allocations: 360.3 kB / 0.9567 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.8254, allocations: 37.34 kB / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.8254, allocations: 0 / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.8256, allocations: 84.08 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.8256, allocations: 0 / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000254/0.8258, allocations: 112.2 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.8259, allocations: 52.78 kB / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.826, allocations: 114.9 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.826, allocations: 33.39 kB / 0.9571 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.8261, allocations: 96.84 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.8261, allocations: 7.531 kB / 0.9572 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.8261, allocations: 6.375 kB / 0.9572 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.8262, allocations: 317.2 kB / 0.9575 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.8263, allocations: 62.7 kB / 0.9576 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.8264, allocations: 91.11 kB / 0.9577 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.8266, allocations: 118.2 kB / 0.9578 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8266, allocations: 4.469 kB / 0.9578 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003927/0.827, allocations: 263.6 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.8271, allocations: 63.28 kB / 0.9581 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8271, allocations: 1.062 kB / 0.9581 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8271, allocations: 9.969 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.235e-05/0.8271, allocations: 2.844 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8271, allocations: 1.094 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.8275, allocations: 84.36 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.8276, allocations: 12.45 kB / 0.9582 GB, free: 4.102 MB / 0.7169 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 9.717e-05/0.8277, allocations: 131.1 kB / 0.9583 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.8277, allocations: 2.031 kB / 0.9583 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.8277, allocations: 13.92 kB / 0.9583 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8278, allocations: 5.516 kB / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8278, allocations: 0 / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8278, allocations: 0 / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.8279, allocations: 178.3 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8279, allocations: 0 / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/0.8279, allocations: 5.453 kB / 0.9585 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8279, allocations: 4 kB / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.8279, allocations: 1.469 kB / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8279, allocations: 1.25 kB / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8279, allocations: 3.953 kB / 0.9585 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.8281, allocations: 116.9 kB / 0.9586 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.8281, allocations: 82.92 kB / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.8281, allocations: 0 / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.8282, allocations: 1.875 kB / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.8282, allocations: 15.48 kB / 0.9587 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.8282, allocations: 11.75 kB / 0.9587 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.8283, allocations: 86.56 kB / 0.9588 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8283, allocations: 0 / 0.9588 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002313/0.8285, allocations: 26.84 kB / 0.9589 GB, free: 3.441 MB / 0.7169 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.0003415/0.8288, allocations: 0.6588 MB / 0.9595 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.8292, allocations: 249 kB / 0.9597 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8292, allocations: 0 / 0.9597 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.8292, allocations: 32.33 kB / 0.9598 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.8294, allocations: 7.625 kB / 0.9598 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.83, allocations: 1.002 MB / 0.9608 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.8302, allocations: 0.6897 MB / 0.9614 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.8302, allocations: 11.11 kB / 0.9614 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.8302, allocations: 19.97 kB / 0.9615 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8302, allocations: 0 / 0.9615 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.8431, allocations: 2.551 MB / 0.9639 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.8433, allocations: 176.1 kB / 0.9641 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.478, allocations: 1.5 kB / 0.9641 GB, free: 15.38 MB / 0.7325 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