Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001435/0.001435, allocations: 114.9 kB / 17.08 MB, free: 5.926 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.001581/0.001581, allocations: 195.7 kB / 20.03 MB, free: 3.004 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.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437.1 MB / 0.7177 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3104, allocations: 151.6 MB / 1.176 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001883/0.3123, allocations: 0.6581 MB / 1.177 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.314, allocations: 1.199 MB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.314, allocations: 0 / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3141, allocations: 3.938 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.3142, allocations: 11.92 kB / 1.178 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.3148, allocations: 207.4 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.3151, allocations: 195.6 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3152, allocations: 15.98 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.3153, allocations: 63.95 kB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3155, allocations: 63.78 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.3155, allocations: 16 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3156, allocations: 27.98 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3156, allocations: 11.97 kB / 1.178 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.3157, allocations: 59.83 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.316, allocations: 151.6 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.316, allocations: 0 / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.316, allocations: 4 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.316, allocations: 0 / 1.178 GB, free: 3.289 MB / 0.92 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.0006008/0.3166, allocations: 438.6 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3167, allocations: 15.97 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.3167, allocations: 8.891 kB / 1.179 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3169, allocations: 168.3 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3169, allocations: 4.375 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.3169, allocations: 16.36 kB / 1.179 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3171, allocations: 46.25 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3171, allocations: 4.188 kB / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3171, allocations: 7.875 kB / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3171, allocations: 0 / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.3172, allocations: 23.98 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.3177, allocations: 352.7 kB / 1.18 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.3178, allocations: 42.5 kB / 1.18 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.3178, allocations: 12.86 kB / 1.18 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3179, allocations: 8 kB / 1.18 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.3181, allocations: 87.38 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3181, allocations: 0 / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002653/0.3183, allocations: 101.6 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3184, allocations: 51.41 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3185, allocations: 117.8 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3186, allocations: 33.7 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.3186, allocations: 104.1 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.3187, allocations: 11.89 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3188, allocations: 53.69 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3189, allocations: 322.8 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3191, allocations: 63.91 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3193, allocations: 95.75 kB / 1.181 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3195, allocations: 159.6 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3195, allocations: 480 / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004419/0.3199, allocations: 260.8 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.32, allocations: 71.52 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.32, allocations: 0 / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.32, allocations: 4 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.33e-05/0.3201, allocations: 4 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3201, allocations: 11.88 kB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.3204, allocations: 51.89 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.3204, allocations: 11.98 kB / 1.181 GB, free: 284 kB / 0.92 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.0001162/0.3206, allocations: 125.8 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.3206, allocations: 11.94 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.3206, allocations: 8.375 kB / 1.181 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3206, allocations: 0 / 1.181 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3206, allocations: 4 kB / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3207, allocations: 0 / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3208, allocations: 185.5 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3209, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.3209, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3209, allocations: 7.984 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3209, allocations: 4 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3209, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3209, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3211, allocations: 120.9 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.3211, allocations: 77.11 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3212, allocations: 4.062 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.3212, allocations: 7.984 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3212, allocations: 12 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3212, allocations: 0 / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.683e-05/0.3213, allocations: 91.27 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3213, allocations: 0 / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002313/0.3216, allocations: 32 kB / 1.182 GB, free: 15.5 MB / 0.9356 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.0001683/0.3217, allocations: 103.2 kB / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.3221, allocations: 250.8 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3221, allocations: 4.344 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.3222, allocations: 31.92 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.3224, allocations: 16.47 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.3228, allocations: 184.3 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3232, allocations: 0.6846 MB / 1.183 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.3232, allocations: 15.44 kB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3232, allocations: 3.938 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.003464/0.3267, allocations: 1.405 MB / 1.184 GB, free: 12.73 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.258622981025837]