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.0009545/0.0009545, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002275, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008918/0.0008918, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002089, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0955/1.105, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.35/2.35, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2532/2.603, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.014e-06/2.014e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.729e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001949/0.001976, allocations: 0.696 MB / 0.819 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.003574, allocations: 1.248 MB / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.00362, allocations: 0 / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.003647, allocations: 3.938 kB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.003704, allocations: 19.84 kB / 0.8202 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.004273, allocations: 207.4 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.004585, allocations: 171.7 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.004672, allocations: 15.97 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.004841, allocations: 91.94 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.004985, allocations: 59.83 kB / 0.8208 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.005029, allocations: 16 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.005128, allocations: 20 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.005155, allocations: 11.94 kB / 0.8208 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.005223, allocations: 39.97 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.005432, allocations: 99.73 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.00545, allocations: 0 / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005452, allocations: 4 kB / 0.8209 GB, free: 192 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.005471, allocations: 0 / 0.8209 GB, free: 192 kB / 0.7917 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.0005881/0.006059, allocations: 351.8 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.006099, allocations: 12.62 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.006159, allocations: 12.92 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.006263, allocations: 113.7 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.006285, allocations: 8.375 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.00631, allocations: 8.375 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.006402, allocations: 46.17 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.00641, allocations: 192 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.006418, allocations: 384 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.006424, allocations: 4.375 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.006456, allocations: 23.92 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.00678, allocations: 176.3 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.00685, allocations: 34.52 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.006869, allocations: 8.859 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.006877, allocations: 0 / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.007006, allocations: 83.45 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.007008, allocations: 0 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001655/0.007173, allocations: 77.53 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.007213, allocations: 55.41 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.007302, allocations: 118.7 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.00733, allocations: 33.7 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.007388, allocations: 96.11 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.007404, allocations: 15.78 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.007488, allocations: 49.67 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.007581, allocations: 314.8 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.007686, allocations: 99.38 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.007803, allocations: 139.6 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.007942, allocations: 147.6 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.007945, allocations: 3.938 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002845/0.008229, allocations: 260.3 kB / 0.8231 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.008288, allocations: 67.39 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.008296, allocations: 7.938 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.008307, allocations: 0 / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.008331, allocations: 4 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.008334, allocations: 128 / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.00854, allocations: 47.91 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.008567, allocations: 8.297 kB / 0.8233 GB, free: 13.54 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 8.904e-05/0.008656, allocations: 120.2 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.008674, allocations: 7.938 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.008704, allocations: 20.36 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.008708, allocations: 3.984 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.00871, allocations: 0 / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.008714, allocations: 4 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.785e-05/0.008801, allocations: 77.88 kB / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008804, allocations: 0 / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.008814, allocations: 4 kB / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.008828, allocations: 15.88 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.008831, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.008837, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.00884, allocations: 3.938 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.008844, allocations: 4.062 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.767e-05/0.008941, allocations: 81.09 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008956, allocations: 7.984 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.008977, allocations: 8 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.009015, allocations: 15.86 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.00902, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.242e-05/0.009043, allocations: 21.25 kB / 0.8236 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.009043, allocations: 0 / 0.8236 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002088/0.009252, allocations: 39.92 kB / 0.8237 GB, free: 13.06 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.0001429/0.009395, allocations: 76.42 kB / 0.8237 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.009657, allocations: 263 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.009663, allocations: 4.25 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.009699, allocations: 24.83 kB / 0.824 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.00985, allocations: 15.98 kB / 0.824 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.01043, allocations: 152 kB / 0.8242 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.01049, allocations: 63.2 kB / 0.8242 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.01052, allocations: 4 kB / 0.8242 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.01064, allocations: 75.34 kB / 0.8243 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.01064, allocations: 4 kB / 0.8243 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of Templates: time 0.005795/0.01644, allocations: 2.313 MB / 0.8266 GB, free: 10.03 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.ref.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.183071341365576]