Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001391/0.001391, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001479/0.001479, allocations: 192.8 kB / 22.11 MB, free: 4.223 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.587/1.587, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.031/3.031, allocations: 495.8 MB / 0.783 GB, free: 12.29 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-maint.12.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: 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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 173.6 MB / 1.307 GB, free: 33.82 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001778/1.269, allocations: 0.658 MB / 1.307 GB, free: 33.41 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001303/1.27, allocations: 1.204 MB / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/1.27, allocations: 0 / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.37e-05/1.27, allocations: 3.938 kB / 1.309 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 7.895e-05/1.27, allocations: 14.22 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006563/1.271, allocations: 218.5 kB / 1.309 GB, free: 32.41 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002126/1.271, allocations: 178.8 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/1.271, allocations: 6.844 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/1.271, allocations: 66.77 kB / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/1.272, allocations: 69.39 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.642e-05/1.272, allocations: 18.53 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.045e-05/1.272, allocations: 26.83 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.442e-05/1.272, allocations: 14.64 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 7.925e-05/1.272, allocations: 55.3 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001988/1.272, allocations: 151.1 kB / 1.309 GB, free: 32.19 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.272, allocations: 0 / 1.309 GB, free: 32.19 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.733e-06/1.272, allocations: 0 / 1.309 GB, free: 32.19 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.139e-05/1.272, allocations: 0 / 1.309 GB, free: 32.19 MB / 1.061 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.0004987/1.273, allocations: 366.4 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.273, allocations: 8.594 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/1.273, allocations: 19.27 kB / 1.31 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/1.273, allocations: 114.7 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.273, allocations: 11.25 kB / 1.31 GB, free: 31.69 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/1.273, allocations: 9.094 kB / 1.31 GB, free: 31.69 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.273, allocations: 46.44 kB / 1.31 GB, free: 31.66 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.273, allocations: 3.344 kB / 1.31 GB, free: 31.66 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.273, allocations: 7.938 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.273, allocations: 3.938 kB / 1.31 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/1.273, allocations: 20.23 kB / 1.31 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/1.273, allocations: 326 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/1.273, allocations: 34.86 kB / 1.31 GB, free: 31.33 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/1.274, allocations: 14.67 kB / 1.31 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/1.274, allocations: 0 / 1.31 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/1.274, allocations: 87.89 kB / 1.31 GB, free: 31.26 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.274, allocations: 7.984 kB / 1.31 GB, free: 31.25 MB / 1.061 GB
Notification: Performance of matching and sorting (n=7): time 0.0002661/1.274, allocations: 106.6 kB / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.274, allocations: 58.5 kB / 1.311 GB, free: 31.13 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/1.274, allocations: 112.7 kB / 1.311 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.845e-05/1.274, allocations: 34.89 kB / 1.311 GB, free: 30.99 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/1.274, allocations: 91.09 kB / 1.311 GB, free: 30.9 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.274, allocations: 18.8 kB / 1.311 GB, free: 30.89 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/1.274, allocations: 50.91 kB / 1.311 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 6.031e-05/1.274, allocations: 325.3 kB / 1.311 GB, free: 30.54 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1.274, allocations: 60.09 kB / 1.311 GB, free: 30.52 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.275, allocations: 92.45 kB / 1.311 GB, free: 30.46 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/1.275, allocations: 159 kB / 1.311 GB, free: 30.32 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.275, allocations: 0 / 1.311 GB, free: 30.32 MB / 1.061 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003713/1.275, allocations: 266.5 kB / 1.312 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/1.275, allocations: 67.95 kB / 1.312 GB, free: 30.1 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.275, allocations: 0 / 1.312 GB, free: 30.1 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.275, allocations: 6.234 kB / 1.312 GB, free: 30.1 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.363e-05/1.275, allocations: 2.781 kB / 1.312 GB, free: 30.1 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/1.275, allocations: 6.781 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/1.276, allocations: 64.12 kB / 1.312 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/1.276, allocations: 11.91 kB / 1.312 GB, free: 30.08 MB / 1.061 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 7.939e-05/1.276, allocations: 130.4 kB / 1.312 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/1.276, allocations: 6.734 kB / 1.312 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/1.276, allocations: 8.375 kB / 1.312 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.276, allocations: 6.688 kB / 1.312 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/1.276, allocations: 0 / 1.312 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.276, allocations: 3.375 kB / 1.312 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/1.276, allocations: 149.5 kB / 1.312 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.276, allocations: 6.844 kB / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/1.276, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/1.276, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/1.276, allocations: 2.938 kB / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.276, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.276, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/1.276, allocations: 124.8 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/1.276, allocations: 6.234 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/1.276, allocations: 0 / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/1.276, allocations: 2.688 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/1.276, allocations: 10.22 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/1.276, allocations: 2.844 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 3.211e-05/1.276, allocations: 91.28 kB / 1.312 GB, free: 29.58 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/1.276, allocations: 0 / 1.312 GB, free: 29.58 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002443/1.276, allocations: 30.47 kB / 1.312 GB, free: 29.58 MB / 1.061 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.0001381/1.277, allocations: 108.1 kB / 1.313 GB, free: 29.48 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002935/1.277, allocations: 218 kB / 1.313 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.277, allocations: 4 kB / 1.313 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 4.39e-05/1.277, allocations: 25.53 kB / 1.313 GB, free: 29.31 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.277, allocations: 19.39 kB / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/1.277, allocations: 162.3 kB / 1.313 GB, free: 29.16 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/1.278, allocations: 0.6869 MB / 1.314 GB, free: 28.46 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 2.562e-05/1.278, allocations: 2.906 kB / 1.314 GB, free: 28.46 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/1.278, allocations: 12.81 kB / 1.314 GB, free: 28.46 MB / 1.061 GB
Notification: Performance of SimCode: time 4.31e-07/1.278, allocations: 0 / 1.314 GB, free: 28.46 MB / 1.061 GB
Notification: Performance of Templates: time 0.004387/1.282, allocations: 1.897 MB / 1.315 GB, free: 28.27 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.172164634801447]