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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007925/0.0007925, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8652/0.8652, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.749/1.749, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.214e-06/2.214e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.304e-05, allocations: 5.516 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001128/0.001151, allocations: 0.6492 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.002239, allocations: 1.214 MB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.002277, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.002304, allocations: 7.875 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.002365, allocations: 15.86 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.002822, allocations: 220.9 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.002985, allocations: 171.7 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.003068, allocations: 8 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003173, allocations: 103.8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.003266, allocations: 47.91 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.003292, allocations: 19.94 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.003349, allocations: 27.98 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.003369, allocations: 4 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.003426, allocations: 51.94 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.003613, allocations: 183.6 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003615, allocations: 4 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003616, allocations: 0 / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003619, allocations: 0 / 1.004 GB, free: 10.26 MB / 0.9636 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.0003828/0.004002, allocations: 353.6 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.004036, allocations: 12.75 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.004082, allocations: 8.891 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.186e-05/0.004153, allocations: 125.6 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.004167, allocations: 8.375 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.004189, allocations: 12.38 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.004276, allocations: 46.25 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004283, allocations: 4.188 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.004295, allocations: 4.359 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.0043, allocations: 8.312 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.004333, allocations: 15.94 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.004662, allocations: 268.5 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.004727, allocations: 34.56 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.004748, allocations: 12.86 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.004757, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.00487, allocations: 91.34 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.004871, allocations: 0 / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001903/0.005061, allocations: 109.6 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.005093, allocations: 55.39 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.005159, allocations: 125.7 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.005179, allocations: 29.7 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.005224, allocations: 92.12 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.005236, allocations: 11.91 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.005296, allocations: 49.69 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.005502, allocations: 322.8 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.005617, allocations: 115.4 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.005734, allocations: 163.6 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.005862, allocations: 163.6 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005864, allocations: 0 / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002901/0.006154, allocations: 332.2 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.006191, allocations: 67.39 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006196, allocations: 4 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.006207, allocations: 0 / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-05/0.006223, allocations: 8.125 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.006228, allocations: 0.7812 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.006412, allocations: 51.88 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.006434, allocations: 19.97 kB / 1.006 GB, free: 7.297 MB / 0.9636 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 6.607e-05/0.0065, allocations: 125.8 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-06/0.006508, allocations: 7.891 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.006529, allocations: 24.36 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.006531, allocations: 0 / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006535, allocations: 0 / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.006541, allocations: 3.938 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.88e-05/0.00661, allocations: 121.3 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006611, allocations: 0 / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-06/0.006614, allocations: 0 / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006616, allocations: 3.938 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.006624, allocations: 7.984 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006625, allocations: 0 / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-07/0.006625, allocations: 0 / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.891e-05/0.006724, allocations: 117 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.006731, allocations: 11.95 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006742, allocations: 3.938 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.006753, allocations: 0 / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.00679, allocations: 11.98 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.006795, allocations: 4 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.006828, allocations: 91.27 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006828, allocations: 0 / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001519/0.00698, allocations: 31.94 kB / 1.007 GB, free: 6.684 MB / 0.9636 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.0001004/0.00708, allocations: 99.25 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.00732, allocations: 286.1 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007322, allocations: 0 / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.007357, allocations: 31.92 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.00752, allocations: 14.05 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.007772, allocations: 183.2 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.007813, allocations: 71.88 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.007834, allocations: 16.48 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.007834, allocations: 0 / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of Templates: time 0.001954/0.009788, allocations: 1.417 MB / 1.009 GB, free: 4.488 MB / 0.9636 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: 6.611246797256172]