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.428/2.428, allocations: 390.5 MB / 398 MB, free: 10.94 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.00102/0.001019, allocations: 172.8 kB / 491.2 MB, free: 1.559 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.646/1.646, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001008/0.001007, allocations: 95.02 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.195e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3511, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.851, allocations: 149.4 MB / 1.358 GB, free: 17.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.851, allocations: 70.28 kB / 1.358 GB, free: 17.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009336/1.861, allocations: 2.922 MB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.861, allocations: 0 / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.861, allocations: 0 / 1.361 GB, free: 32.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.0005292/1.861, allocations: 416.8 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.862, allocations: 11.5 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/1.862, allocations: 7.562 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.862, allocations: 172.3 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/1.862, allocations: 0 / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/1.862, allocations: 13.41 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.507e-05/1.862, allocations: 10.97 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/1.862, allocations: 52.31 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.862, allocations: 0 / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.862, allocations: 0 / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.862, allocations: 0 / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/1.863, allocations: 333.2 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/1.863, allocations: 40.11 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/1.863, allocations: 12.33 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/1.863, allocations: 2.438 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/1.863, allocations: 83.39 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/1.863, allocations: 0 / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002325/1.863, allocations: 80.73 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/1.863, allocations: 54.41 kB / 1.363 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/1.863, allocations: 113.6 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/1.863, allocations: 29.55 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/1.863, allocations: 87.3 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/1.863, allocations: 17.88 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/1.863, allocations: 3.75 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/1.863, allocations: 321.2 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/1.864, allocations: 53.02 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/1.864, allocations: 88.02 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/1.864, allocations: 66.64 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.864, allocations: 0 / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004786/1.864, allocations: 206.4 kB / 1.363 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/1.865, allocations: 67.48 kB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.865, allocations: 4.938 kB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.865, allocations: 4.438 kB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.086e-05/1.865, allocations: 0 / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.865, allocations: 3.906 kB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/1.865, allocations: 70.62 kB / 1.364 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/1.865, allocations: 14.69 kB / 1.364 GB, free: 30.84 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.0001002/1.865, allocations: 125 kB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001333/1.865, allocations: 83.28 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/1.865, allocations: 7.656 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/1.865, allocations: 9.688 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.865, allocations: 2.5 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.865, allocations: 0 / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.865, allocations: 9.469 kB / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/1.865, allocations: 145.5 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.865, allocations: 0 / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/1.866, allocations: 3.844 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.866, allocations: 1.406 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/1.866, allocations: 4 kB / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.866, allocations: 0 / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.866, allocations: 4.141 kB / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/1.866, allocations: 116.9 kB / 1.364 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/1.866, allocations: 81.02 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/1.866, allocations: 5.344 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/1.866, allocations: 0 / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/1.866, allocations: 11 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/1.866, allocations: 5.5 kB / 1.364 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.141e-05/1.866, allocations: 88.45 kB / 1.364 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.9e-07/1.866, allocations: 0 / 1.364 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002588/1.866, allocations: 30.88 kB / 1.364 GB, free: 30.26 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.0005857/1.867, allocations: 0.6527 MB / 1.365 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003112/1.867, allocations: 237.2 kB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.867, allocations: 3.938 kB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/1.867, allocations: 24.05 kB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/1.867, allocations: 10.73 kB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/1.868, allocations: 133.9 kB / 1.365 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.868, allocations: 0.6927 MB / 1.366 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.897e-05/1.868, allocations: 9.219 kB / 1.366 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/1.868, allocations: 20.98 kB / 1.366 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/1.868, allocations: 3.938 kB / 1.366 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/1.893, allocations: 2.155 MB / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.893, allocations: 143.2 kB / 1.368 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.554, allocations: 4 kB / 1.368 GB, free: 28.35 MB / 0.8386 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