Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7635 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.108 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9047, allocations: 168.7 MB / 1.272 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001963/0.9067, allocations: 0.6511 MB / 1.273 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.9084, allocations: 1.198 MB / 1.274 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.9085, allocations: 4 kB / 1.274 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.9085, allocations: 3.938 kB / 1.274 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.9085, allocations: 11.88 kB / 1.274 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.9092, allocations: 223.2 kB / 1.274 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.9094, allocations: 175.7 kB / 1.275 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.9096, allocations: 11.98 kB / 1.275 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.9097, allocations: 67.89 kB / 1.275 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.9098, allocations: 59.84 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.9099, allocations: 19.94 kB / 1.275 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.9099, allocations: 31.98 kB / 1.275 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.91, allocations: 11.97 kB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.9101, allocations: 51.84 kB / 1.275 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.9103, allocations: 161.3 kB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9103, allocations: 4 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9103, allocations: 0 / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.9103, allocations: 0 / 1.275 GB, free: 1.707 MB / 0.9669 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.0005794/0.9109, allocations: 438.7 kB / 1.275 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.9109, allocations: 8.031 kB / 1.275 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.911, allocations: 30.75 kB / 1.275 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.911, allocations: 12.89 kB / 1.275 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.9112, allocations: 168.3 kB / 1.276 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.9112, allocations: 16.3 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.9112, allocations: 8.375 kB / 1.276 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.9114, allocations: 58.19 kB / 1.276 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9114, allocations: 3.938 kB / 1.276 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.9114, allocations: 0 / 1.276 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.9114, allocations: 0 / 1.276 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.9114, allocations: 15.98 kB / 1.276 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.9119, allocations: 356.7 kB / 1.276 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.912, allocations: 34.5 kB / 1.276 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.912, allocations: 16.86 kB / 1.276 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.912, allocations: 4 kB / 1.276 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.9122, allocations: 84.98 kB / 1.276 GB, free: 296 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 3.617e-06/0.9122, allocations: 3.984 kB / 1.276 GB, free: 292 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000263/0.9125, allocations: 109.8 kB / 1.276 GB, free: 176 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.9126, allocations: 51.41 kB / 1.276 GB, free: 112 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9127, allocations: 117.9 kB / 1.276 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.9127, allocations: 29.7 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.9128, allocations: 100.1 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.9128, allocations: 15.89 kB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.9129, allocations: 53.62 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9131, allocations: 322.8 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.9132, allocations: 55.97 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.9134, allocations: 108.2 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.9136, allocations: 156 kB / 1.277 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9136, allocations: 0 / 1.277 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004622/0.914, allocations: 268.8 kB / 1.278 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.9141, allocations: 71.39 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9141, allocations: 0 / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.9141, allocations: 0 / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-05/0.9141, allocations: 4 kB / 1.278 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.9141, allocations: 4.062 kB / 1.278 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.9145, allocations: 59.83 kB / 1.278 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.9145, allocations: 20.11 kB / 1.278 GB, free: 14.64 MB / 0.9825 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,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.9146, allocations: 125.7 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.9146, allocations: 11.94 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.9146, allocations: 8.375 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.9146, allocations: 0 / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9147, allocations: 0 / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9147, allocations: 0 / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.9148, allocations: 177.6 kB / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9148, allocations: 0 / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.9148, allocations: 12 kB / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.9148, allocations: 0 / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.9148, allocations: 0 / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9148, allocations: 0 / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9148, allocations: 0 / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.915, allocations: 120.9 kB / 1.278 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.9151, allocations: 81.11 kB / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.9151, allocations: 0 / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.9151, allocations: 7.984 kB / 1.278 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.9151, allocations: 8 kB / 1.278 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.9151, allocations: 4 kB / 1.278 GB, free: 14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.9152, allocations: 91.27 kB / 1.278 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9152, allocations: 0 / 1.278 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002369/0.9154, allocations: 35.88 kB / 1.278 GB, free: 13.87 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005196/0.9159, allocations: 0.6561 MB / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.9163, allocations: 222.6 kB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.9163, allocations: 3.938 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.9163, allocations: 23.98 kB / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.9165, allocations: 12.19 kB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.9185, allocations: 1.737 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.9189, allocations: 0.6885 MB / 1.282 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.9189, allocations: 8 kB / 1.282 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.9189, allocations: 11.44 kB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.9189, allocations: 0 / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.9432, allocations: 2.904 MB / 1.284 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.813, allocations: 12.41 kB / 1.284 GB, free: 7.516 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable xor1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.936576260952279]