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.001613/0.001613, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001814/0.001814, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.272/3.272, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 72.34 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3495, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00202/0.3515, allocations: 0.6567 MB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3533, allocations: 1.202 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.3533, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.3534, allocations: 7.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.3534, allocations: 15.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.3541, allocations: 211.8 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3544, allocations: 175.7 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.3545, allocations: 19.92 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3546, allocations: 67.89 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3547, allocations: 63.77 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.3548, allocations: 20 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.3549, allocations: 20 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.3549, allocations: 11.98 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.355, allocations: 55.89 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3552, allocations: 151.5 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3552, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3552, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3552, allocations: 0 / 1.367 GB, free: 10.91 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.0005783/0.3558, allocations: 365.5 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3558, allocations: 8.031 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.3559, allocations: 16.88 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.356, allocations: 114.5 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3561, allocations: 4.375 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3561, allocations: 8.375 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3562, allocations: 50.23 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3562, allocations: 4.188 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3562, allocations: 3.938 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3562, allocations: 0 / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.3563, allocations: 15.94 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.3568, allocations: 276.4 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.3568, allocations: 34.56 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.3569, allocations: 24.88 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3569, allocations: 4 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.3571, allocations: 79.31 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 2.856e-06/0.3571, allocations: 0 / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002743/0.3574, allocations: 105.6 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3574, allocations: 59.39 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3576, allocations: 121.8 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3576, allocations: 33.7 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3577, allocations: 93.16 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.3577, allocations: 15.91 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3578, allocations: 45.69 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.358, allocations: 326.8 kB / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.3582, allocations: 123.4 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3584, allocations: 151.7 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3586, allocations: 163.5 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3586, allocations: 0 / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005146/0.3591, allocations: 328.2 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.3592, allocations: 69.11 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3592, allocations: 0 / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3592, allocations: 4.062 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-05/0.3592, allocations: 4 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3592, allocations: 7.938 kB / 1.37 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.3596, allocations: 60.05 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.3596, allocations: 8 kB / 1.37 GB, free: 7.945 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 0.0001299/0.3597, allocations: 129.7 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.3598, allocations: 8.422 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.3598, allocations: 8.375 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3598, allocations: 0 / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3598, allocations: 0 / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3598, allocations: 4 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.3599, allocations: 125.2 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3599, allocations: 0 / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.3599, allocations: 11.98 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3599, allocations: 0 / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.36, allocations: 0 / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.36, allocations: 0 / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.36, allocations: 0 / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3601, allocations: 120.9 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.3601, allocations: 7.922 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3602, allocations: 4 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.3602, allocations: 4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3602, allocations: 7.984 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.3602, allocations: 4 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.3603, allocations: 91.27 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3603, allocations: 0 / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002476/0.3605, allocations: 35.95 kB / 1.37 GB, free: 7.328 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.0001827/0.3607, allocations: 99.23 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.3611, allocations: 282.1 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3611, allocations: 0 / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.3612, allocations: 27.92 kB / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3615, allocations: 24.72 kB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.3619, allocations: 188.5 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.3619, allocations: 71.33 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.362, allocations: 11.44 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.362, allocations: 0 / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of Templates: time 0.003619/0.3656, allocations: 1.412 MB / 1.372 GB, free: 5.145 MB / 1.061 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/jenkins1/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: 11.290730336681008]