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.001427/0.001427, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00159/0.00159, allocations: 181 kB / 23.36 MB, free: 1.133 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.978/0.978, allocations: 177.1 MB / 203.8 MB, free: 5.469 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 2.42/2.42, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.233e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001289/0.001311, allocations: 0.659 MB / 0.8392 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.002586, allocations: 1.248 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.002631, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.002661, allocations: 3.938 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.002739, allocations: 15.86 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.003258, allocations: 211.4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.003438, allocations: 179.6 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.003514, allocations: 8 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.003625, allocations: 91.92 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.003726, allocations: 55.83 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.003753, allocations: 16 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.003813, allocations: 24 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.003835, allocations: 15.97 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.003885, allocations: 51.91 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.00404, allocations: 135.7 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004042, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004043, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004047, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 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.0003542/0.004401, allocations: 336.1 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.004434, allocations: 12.62 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.00447, allocations: 12.92 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.004548, allocations: 109.8 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.004561, allocations: 8.312 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.004583, allocations: 16.31 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.619e-05/0.004649, allocations: 50.23 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004657, allocations: 4.172 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.004664, allocations: 384 / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.004671, allocations: 4.375 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.492e-05/0.004686, allocations: 7.938 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.004933, allocations: 184.2 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.00499, allocations: 34.56 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.005004, allocations: 8.859 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-06/0.005009, allocations: 4 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.919e-05/0.005098, allocations: 75.44 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.0051, allocations: 0 / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001355/0.005235, allocations: 81.77 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.005271, allocations: 51.41 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.00534, allocations: 126.6 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.005359, allocations: 29.7 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.005398, allocations: 96.12 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/0.005408, allocations: 7.906 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.005462, allocations: 45.67 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.005539, allocations: 318.8 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.005611, allocations: 103.4 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.005689, allocations: 128 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.513e-05/0.005784, allocations: 147.5 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005786, allocations: 0 / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/0.00602, allocations: 256.3 kB / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.006073, allocations: 74.02 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.006079, allocations: 3.938 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.006094, allocations: 4 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.006112, allocations: 0 / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.006118, allocations: 7.984 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.006279, allocations: 39.92 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.006296, allocations: 11.98 kB / 0.8435 GB, free: 8.832 MB / 0.8073 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.0003461/0.006643, allocations: 125.7 kB / 0.8436 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.006655, allocations: 11.98 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.006678, allocations: 12.38 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.00668, allocations: 3.938 kB / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006682, allocations: 4 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006685, allocations: 0 / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.964e-05/0.006754, allocations: 73.88 kB / 0.8437 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.006756, allocations: 0 / 0.8437 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.006762, allocations: 4 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006764, allocations: 0 / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.006769, allocations: 4.062 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.00677, allocations: 4 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.006771, allocations: 3.938 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.006848, allocations: 89.03 kB / 0.8438 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.006857, allocations: 11.94 kB / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.006866, allocations: 0 / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.006877, allocations: 0 / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.006909, allocations: 11.92 kB / 0.8439 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006913, allocations: 4 kB / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.006935, allocations: 16.84 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006935, allocations: 0 / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000133/0.007068, allocations: 31.98 kB / 0.8439 GB, free: 8.383 MB / 0.8073 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.0001049/0.007173, allocations: 84.42 kB / 0.844 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.007352, allocations: 255 kB / 0.8442 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.007355, allocations: 0 / 0.8442 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.00738, allocations: 28.77 kB / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.007494, allocations: 19.92 kB / 0.8443 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.007719, allocations: 145.5 kB / 0.8444 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.007748, allocations: 59.36 kB / 0.8445 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.007768, allocations: 7.984 kB / 0.8445 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.00786, allocations: 83.28 kB / 0.8446 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.007861, allocations: 0 / 0.8446 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of Templates: time 0.003655/0.01152, allocations: 2.24 MB / 0.8468 GB, free: 5.414 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3146370351314545]