Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0013/0.0013, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001456/0.001456, allocations: 212.6 kB / 23.04 MB, free: 4.867 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.326/3.326, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002089/0.002089, allocations: 66.52 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3787, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001941/0.3807, allocations: 0.6438 MB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3825, allocations: 1.202 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.3825, allocations: 8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.3826, allocations: 7.922 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.3826, allocations: 11.86 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.3833, allocations: 210.3 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3836, allocations: 179.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3837, allocations: 11.98 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3838, allocations: 71.89 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3839, allocations: 55.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.384, allocations: 16 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.384, allocations: 31.92 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.3841, allocations: 15.92 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.3842, allocations: 55.89 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3844, allocations: 147.6 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3844, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3844, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3844, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 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.0005892/0.385, allocations: 365.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.385, allocations: 12.03 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.3851, allocations: 8.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3852, allocations: 114.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3852, allocations: 4.375 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.3853, allocations: 12.31 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3854, allocations: 58.19 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3854, allocations: 4.172 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3854, allocations: 3.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.3855, allocations: 12 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.3859, allocations: 280.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.386, allocations: 34.56 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.3861, allocations: 24.67 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3861, allocations: 4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.3863, allocations: 87.39 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3863, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/0.3866, allocations: 101.6 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3866, allocations: 63.34 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3867, allocations: 113.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3867, allocations: 33.69 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.3868, allocations: 96.12 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.3868, allocations: 11.91 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.3869, allocations: 49.69 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3871, allocations: 318.8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3873, allocations: 123.4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3875, allocations: 151.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3877, allocations: 159.6 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3877, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005154/0.3882, allocations: 332.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.3883, allocations: 67.39 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3883, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3883, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.309e-05/0.3884, allocations: 7.875 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3884, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.3887, allocations: 56.02 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.3888, allocations: 11.98 kB / 1.332 GB, free: 11.32 MB / 1.029 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.0001249/0.3889, allocations: 129.7 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3889, allocations: 7.938 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.3889, allocations: 8.359 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3889, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3889, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3889, allocations: 4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.3891, allocations: 121.2 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3891, allocations: 7.938 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.3891, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3891, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3891, allocations: 3.984 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3891, allocations: 4.062 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3891, allocations: 3.984 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3893, allocations: 121 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.3893, allocations: 3.953 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3893, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.3893, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3894, allocations: 15.98 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3894, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.3895, allocations: 95.2 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3895, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002382/0.3897, allocations: 28 kB / 1.333 GB, free: 10.7 MB / 1.029 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.000204/0.3899, allocations: 107.2 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3903, allocations: 278.1 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3903, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.3904, allocations: 28.22 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3906, allocations: 24.14 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.391, allocations: 184.4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.499e-05/0.3911, allocations: 71.33 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3911, allocations: 11.44 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3911, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of Templates: time 0.0037/0.3948, allocations: 1.418 MB / 1.335 GB, free: 8.504 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74594661500305]