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/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.001658/0.001658, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002512/0.002512, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.217/3.217, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor")
translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.16 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4183, allocations: 174.9 MB / 1.316 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.003086/0.4213, allocations: 0.6606 MB / 1.317 GB, free: 9.012 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001922/0.4233, allocations: 1.198 MB / 1.318 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.4233, allocations: 4 kB / 1.318 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.4234, allocations: 3.938 kB / 1.318 GB, free: 7.793 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.4235, allocations: 15.91 kB / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.4243, allocations: 213.8 kB / 1.318 GB, free: 7.574 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003346/0.4247, allocations: 179.7 kB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4248, allocations: 3.984 kB / 1.318 GB, free: 7.395 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.425, allocations: 79.88 kB / 1.318 GB, free: 7.316 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.4251, allocations: 63.84 kB / 1.318 GB, free: 7.254 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.4252, allocations: 16 kB / 1.318 GB, free: 7.238 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.4253, allocations: 27.98 kB / 1.318 GB, free: 7.211 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.4253, allocations: 11.98 kB / 1.318 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.4254, allocations: 55.83 kB / 1.318 GB, free: 7.145 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.4257, allocations: 155.5 kB / 1.319 GB, free: 6.992 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4257, allocations: 0 / 1.319 GB, free: 6.992 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.783e-06/0.4257, allocations: 0 / 1.319 GB, free: 6.992 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.157e-06/0.4257, allocations: 4 kB / 1.319 GB, free: 6.988 MB / 1.014 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.0006113/0.4263, allocations: 361.5 kB / 1.319 GB, free: 6.59 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4263, allocations: 8.031 kB / 1.319 GB, free: 6.582 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.4264, allocations: 12.89 kB / 1.319 GB, free: 6.57 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4265, allocations: 122.5 kB / 1.319 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4265, allocations: 4.375 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.4266, allocations: 16.38 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.4267, allocations: 46.23 kB / 1.319 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4267, allocations: 192 / 1.319 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4267, allocations: 3.938 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4267, allocations: 0 / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.4268, allocations: 27.94 kB / 1.319 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.4273, allocations: 319.8 kB / 1.32 GB, free: 5.969 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.4274, allocations: 42.5 kB / 1.32 GB, free: 5.918 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.4275, allocations: 12.86 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.4275, allocations: 0 / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.4276, allocations: 91.39 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4276, allocations: 0 / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0002646/0.4279, allocations: 101.6 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.428, allocations: 55.41 kB / 1.32 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4281, allocations: 117.8 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.4281, allocations: 37.69 kB / 1.32 GB, free: 5.461 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.4282, allocations: 88.14 kB / 1.32 GB, free: 5.371 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.4282, allocations: 11.91 kB / 1.32 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4283, allocations: 53.69 kB / 1.32 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001463/0.4285, allocations: 322.8 kB / 1.32 GB, free: 4.977 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4286, allocations: 67.91 kB / 1.32 GB, free: 4.91 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.4288, allocations: 92.25 kB / 1.321 GB, free: 4.805 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.429, allocations: 160.1 kB / 1.321 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.429, allocations: 7.875 kB / 1.321 GB, free: 4.613 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004543/0.4294, allocations: 264.8 kB / 1.321 GB, free: 4.336 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.4295, allocations: 67.39 kB / 1.321 GB, free: 4.258 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4295, allocations: 4 kB / 1.321 GB, free: 4.254 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4295, allocations: 128 / 1.321 GB, free: 4.254 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.4296, allocations: 8 kB / 1.321 GB, free: 4.246 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4296, allocations: 3.938 kB / 1.321 GB, free: 4.242 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.4299, allocations: 51.92 kB / 1.321 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4299, allocations: 12 kB / 1.321 GB, free: 4.18 MB / 1.014 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.0001316/0.4301, allocations: 133.9 kB / 1.321 GB, free: 4.043 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.4301, allocations: 11.95 kB / 1.321 GB, free: 4.031 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.4301, allocations: 8.375 kB / 1.321 GB, free: 4.02 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4301, allocations: 4.062 kB / 1.321 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4301, allocations: 4 kB / 1.321 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4301, allocations: 0 / 1.321 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.4303, allocations: 152.6 kB / 1.321 GB, free: 3.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4303, allocations: 0 / 1.321 GB, free: 3.82 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-06/0.4303, allocations: 0 / 1.321 GB, free: 3.82 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.4303, allocations: 4 kB / 1.321 GB, free: 3.816 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4303, allocations: 0 / 1.321 GB, free: 3.816 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4303, allocations: 0 / 1.321 GB, free: 3.816 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4303, allocations: 4 kB / 1.321 GB, free: 3.812 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.4305, allocations: 116.9 kB / 1.322 GB, free: 3.68 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.4305, allocations: 7.953 kB / 1.322 GB, free: 3.672 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.4305, allocations: 4 kB / 1.322 GB, free: 3.668 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.4305, allocations: 3.984 kB / 1.322 GB, free: 3.664 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.4306, allocations: 4 kB / 1.322 GB, free: 3.66 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.4306, allocations: 11.98 kB / 1.322 GB, free: 3.648 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.834e-05/0.4307, allocations: 95.22 kB / 1.322 GB, free: 3.555 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4307, allocations: 0 / 1.322 GB, free: 3.555 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002364/0.4309, allocations: 27.98 kB / 1.322 GB, free: 3.527 MB / 1.014 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.0001765/0.4311, allocations: 99.25 kB / 1.322 GB, free: 3.422 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003861/0.4315, allocations: 226.6 kB / 1.322 GB, free: 3.176 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4315, allocations: 0 / 1.322 GB, free: 3.176 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.4315, allocations: 31.86 kB / 1.322 GB, free: 3.145 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4318, allocations: 21.64 kB / 1.322 GB, free: 3.125 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.4322, allocations: 150.8 kB / 1.322 GB, free: 2.949 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.4325, allocations: 0.6856 MB / 1.323 GB, free: 2.238 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.474e-05/0.4325, allocations: 11.97 kB / 1.323 GB, free: 2.227 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.4326, allocations: 11.44 kB / 1.323 GB, free: 2.215 MB / 1.014 GB
Notification: Performance of SimCode: time 4.41e-07/0.4326, allocations: 4 kB / 1.323 GB, free: 2.211 MB / 1.014 GB
Notification: Performance of Templates: time 0.005034/0.4376, allocations: 1.893 MB / 1.325 GB, free: 348 kB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300]
(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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.21670847479254]