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.311/2.311, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001011/0.001011, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 103.7 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.16e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8233/1.118, allocations: 148.6 MB / 1.351 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/1.118, allocations: 69.67 kB / 1.351 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009934/1.128, allocations: 2.914 MB / 1.354 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/1.128, allocations: 0 / 1.354 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.128, allocations: 7.844 kB / 1.354 GB, free: 33.68 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.0005788/1.129, allocations: 414.9 kB / 1.355 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/1.129, allocations: 8.484 kB / 1.355 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/1.129, allocations: 7.781 kB / 1.355 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/1.129, allocations: 172.3 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/1.129, allocations: 0 / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/1.129, allocations: 12.19 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/1.129, allocations: 15.53 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.13, allocations: 49.06 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.13, allocations: 4 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/1.13, allocations: 0.5156 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.13, allocations: 0 / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/1.13, allocations: 338.2 kB / 1.355 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/1.131, allocations: 33.72 kB / 1.355 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/1.131, allocations: 12.8 kB / 1.355 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/1.131, allocations: 4 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/1.131, allocations: 81.09 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/1.131, allocations: 0 / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003352/1.131, allocations: 87.19 kB / 1.355 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.131, allocations: 52.11 kB / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.131, allocations: 110.6 kB / 1.355 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/1.131, allocations: 30.34 kB / 1.355 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/1.131, allocations: 96.58 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/1.132, allocations: 14.17 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/1.132, allocations: 3.875 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.132, allocations: 320.3 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/1.132, allocations: 55.14 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/1.132, allocations: 83.59 kB / 1.356 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/1.132, allocations: 68.89 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.132, allocations: 0 / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005375/1.133, allocations: 206.9 kB / 1.356 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.88e-05/1.133, allocations: 69.25 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.133, allocations: 4.875 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.133, allocations: 3.906 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-05/1.133, allocations: 0.5625 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.133, allocations: 4.531 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/1.134, allocations: 69.69 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/1.134, allocations: 10.97 kB / 1.356 GB, free: 31.89 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 0.0001347/1.134, allocations: 121.2 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001224/1.134, allocations: 79.16 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/1.134, allocations: 8.469 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/1.134, allocations: 13.27 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.134, allocations: 0 / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.134, allocations: 0 / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.134, allocations: 4.5 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/1.134, allocations: 157.3 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.134, allocations: 4 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/1.134, allocations: 0.6562 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.134, allocations: 3.969 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.134, allocations: 0.75 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.134, allocations: 0.7969 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.134, allocations: 3.938 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/1.134, allocations: 110.1 kB / 1.357 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/1.134, allocations: 81.58 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/1.134, allocations: 0.6562 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/1.134, allocations: 0.75 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/1.135, allocations: 14.91 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.135, allocations: 0.5625 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.013e-05/1.135, allocations: 88.19 kB / 1.357 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.135, allocations: 4.281 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002877/1.135, allocations: 28.19 kB / 1.357 GB, free: 31.3 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.0005676/1.136, allocations: 0.659 MB / 1.358 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003024/1.136, allocations: 236 kB / 1.358 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.136, allocations: 256 / 1.358 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/1.136, allocations: 27.52 kB / 1.358 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/1.136, allocations: 16.97 kB / 1.358 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/1.137, allocations: 133.1 kB / 1.358 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/1.137, allocations: 0.6877 MB / 1.359 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.794e-05/1.137, allocations: 12.28 kB / 1.359 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/1.137, allocations: 26.41 kB / 1.359 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.137, allocations: 0 / 1.359 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/1.159, allocations: 2.154 MB / 1.361 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.16, allocations: 140.9 kB / 1.361 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.719, allocations: 0 / 1.361 GB, free: 29.39 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